-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[improvement] Improve exceptions and logging when retrying (#941)
## Before this PR - Request failures were logged at the `debug` level - Nothing was logged when handling a `RetryOther` QoS response - The message "Rescheduling call after backoff" was logged when retrying requests for different reasons - `IOException` was used to indicate failures ## After this PR - Request failures are logged at the `info` level - Log when handling any QoS response - Use unique, descriptive messages when retrying requests - Use `SafeIoException` to indicate failures Logging request failures at the info level is the primary motivation of this PR. Without this there is no indication when requests fail. cc @pnepywoda
- Loading branch information
1 parent
d3d824f
commit b401608
Showing
3 changed files
with
117 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters