Skip to content
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

Merged
merged 1 commit into from
Nov 7, 2017
Merged

Rescue signal exception #33

merged 1 commit into from
Nov 7, 2017

Conversation

Parad0X
Copy link

@Parad0X Parad0X commented Nov 7, 2017

What? Why?

Fixes #32

How was it tested?

Spec + extensive testing in production

Copy link
Member

@splittingred splittingred left a 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
Copy link
Member

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)

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 updated

@splittingred
Copy link
Member

Thanks for this! I'll cut a 2.0.2 release now.

@splittingred splittingred merged commit bb7921f into bigcommerce:master Nov 7, 2017
@Parad0X
Copy link
Author

Parad0X commented Nov 7, 2017

@splittingred :shipit: !

@splittingred
Copy link
Member

@Parad0X
Copy link
Author

Parad0X commented Nov 7, 2017

@splittingred Thank you for taking care of this so fast. bundle update!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants