We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 636bd54 commit 1ee922bCopy full SHA for 1ee922b
lib/datadog_backup/workflows.rb
@@ -26,7 +26,10 @@ def backup
26
def get_by_id(id)
27
except(get(id))
28
rescue Faraday::ResourceNotFound
29
- LOGGER.warn("Workflow #{id} not found")
+ LOGGER.warn("Workflow #{id} not found (404)")
30
+ {}
31
+ rescue Faraday::BadRequestError => e
32
+ LOGGER.warn("Workflow #{id} returned bad request (400) - #{e.message}")
33
{}
34
end
35
0 commit comments