• Markus Koller's avatar
    Automatically create integration webhooks when missing · c2259e5e
    Markus Koller authored
    Previously we were silently failing if the webhook could not be saved
    when the integration was edited, which led to further exceptions later
    when the integration was trying to execute the webhook.
    
    The webhook is really only used to associate records in `web_hook_logs`,
    so we can create it automatically when needed and don't have to
    backfill existing integrations.
    
    We now also raise errors if the webhook cannot be saved, which should
    help us diagnose why this is failing in the first place.
    
    Changelog: fixed
    c2259e5e
datadog_spec.rb 5.54 KB