Skip to content
This repository has been archived by the owner on Feb 9, 2024. It is now read-only.

Do not exit on DataDog API errors #27

Open
wants to merge 15 commits into
base: master
Choose a base branch
from

Conversation

AMeng
Copy link
Contributor

@AMeng AMeng commented Dec 19, 2017

Rather than exiting immediately on DataDog API errors, capture errors and report them. The script will still exit with an exception if there were any errors.

This is useful for reporting all the errors in your monitors, rather than just reporting the first error found.

This also allows all the working monitors to sync successfully even when there are some erroneous monitors.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants