-
Notifications
You must be signed in to change notification settings - Fork 0
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
feat(): removed panicking code #293
base: main
Are you sure you want to change the base?
feat(): removed panicking code #293
Conversation
error!("Failed to unpack message: {}", err.kind()); | ||
let response = (StatusCode::BAD_REQUEST, Error::UnpackingError.json()); |
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.
We should find a better way to handle the kinds of errors that can happen 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.
i think its better this way
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.
The error kind doesn’t provide sufficient information about the error. We also need additional context to fully understand the error. That’s why a complete error backtrace is necessary.
I need to investigate further to determine why the code panics at this level, as it doesn’t seem to be normal.
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.
I'm interested in knowing the result of @Hermann-Core's investigation. Please consider his final approval as mine on this PR.
No description provided.