We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
commit_monitor
Handler<CommitMessage> has a bunch of .unwrap()s because the handle function in actix does not return a Result.
Handler<CommitMessage>
.unwrap()
handle
I don't want to panic the server when anything here goes wrong (at least not in production). I'd rather log the error, and keep the thing going.
Maybe use catch_unwind? Edit: does not seem to work, I can't move the logic to a closure
catch_unwind
The text was updated successfully, but these errors were encountered:
#345 fix commit index
1363380
#345 fix commit index (#346)
ba9952f
#345 get rid of unwraps in commit monitor
012c4de
5a52f9b
ba3ade9
Successfully merging a pull request may close this issue.
Handler<CommitMessage>
has a bunch of.unwrap()
s because thehandle
function in actix does not return a Result.I don't want to panic the server when anything here goes wrong (at least not in production). I'd rather log the error, and keep the thing going.
Maybe use
catch_unwind
? Edit: does not seem to work, I can't move the logic to a closureThe text was updated successfully, but these errors were encountered: