You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The coordinator sometimes returns error messages in a JSON payload from its admin endpoints. We currently can't catch this because the default retryhttp handler masks all errors. The only way of catching these errors currently is by having debug logging on in the operator thus dumping all raw responses, which is not desirable.
We should modify the m3admin http client to attempt to parse out application-level errors from non-200 responses from the coordinator. We'll likely need to use retryhttp's Passthrough error handler and then parse out the response.
The text was updated successfully, but these errors were encountered:
The coordinator sometimes returns error messages in a JSON payload from its admin endpoints. We currently can't catch this because the default retryhttp handler masks all errors. The only way of catching these errors currently is by having debug logging on in the operator thus dumping all raw responses, which is not desirable.
We should modify the m3admin http client to attempt to parse out application-level errors from non-200 responses from the coordinator. We'll likely need to use retryhttp's Passthrough error handler and then parse out the response.
The text was updated successfully, but these errors were encountered: