-
Notifications
You must be signed in to change notification settings - Fork 50
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix] Issue #4 #49
[Fix] Issue #4 #49
Conversation
…nstead. 2. add try catch in the block for transport send in acatch block
) | ||
} catch (sendError: Throwable) { | ||
LOGGER.error(sendError) { "Failed to send error response for request: ${request.method} (id: ${request.id})" } | ||
// Optionally implement fallback behavior here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @e5l, any fallback you have in mind for this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look like we can recover. lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Open to merge?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yep, will do after CI run 👍
Also please tell me how i can test this one? |
) | ||
} catch (sendError: Throwable) { | ||
LOGGER.error(sendError) { "Failed to send error response for request: ${request.method} (id: ${request.id})" } | ||
// Optionally implement fallback behavior here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't look like we can recover. lgtm
Motivation and Context
Issue #4
How Has This Been Tested?
Breaking Changes
Types of changes
Checklist
Additional context