I have a workflow where I try to get an OpsGenie alert by alias to check existence and close it if needed.
Whenever I get an alert that does not exist on OpsGenie, SDK logs an error-level message on API 404 error.
This creates many error-level logs on my application despite everything working as expected.
Hello,
I have a workflow where I try to get an OpsGenie alert by alias to check existence and close it if needed. Whenever I get an alert that does not exist on OpsGenie, SDK logs an error-level message on API 404 error. This creates many error-level logs on my application despite everything working as expected.
Here is the culprit: https://github.com/opsgenie/opsgenie-go-sdk-v2/blob/master/client/client.go#L475
I want to remove this log because it is not an actual API error, and leave it to the caller to decide to log this information.
Thanks