-
Notifications
You must be signed in to change notification settings - Fork 73
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
Rescue signal exception #33
Conversation
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.
Thanks for the contribution! A tiny update to get Rubocop to play along (and can you rebase from master), but code looks good.
@@ -61,7 +61,9 @@ def server | |||
def start! | |||
logger.info { 'Booting gRPC Server...' } | |||
server.run_till_terminated | |||
rescue Interrupt, SignalException, SystemExit |
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.
Can you wrap this method in # rubocop:disable Lint/ShadowedException
and # rubocop:enable Lint/ShadowedException
flags? (May need to rebase this from master)
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.
👍 updated
Thanks for this! I'll cut a 2.0.2 release now. |
@splittingred Thank you for taking care of this so fast. |
What? Why?
Fixes #32
How was it tested?
Spec + extensive testing in production