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

airbrake-ruby: reraise SystemExit instead of raising Airbrak::Error #32

Merged
merged 1 commit into from
Jan 18, 2016

Conversation

kyrylo
Copy link
Contributor

@kyrylo kyrylo commented Jan 18, 2016

Fixes #28 ("Airbrake::Error: the 'default' notifier isn't configured"
thrown after unsuccessful specs)

This fixes issues with the Rake integration. There was a similar
issue
to a bug with the Rake integration reported a couple of weeks
ago. The change presented here fixes both issues by reraising
SystemExit, which propagates it and gets handled by Ruby.

Fixes #28 ("Airbrake::Error: the 'default' notifier isn't configured"
thrown after unsuccessful specs)

This fixes issues with the Rake integration. There was a [similar
issue][1] to a bug with the Rake integration reported a couple of weeks
ago. The change presented here fixes both issues by reraising
`SystemExit`, which propagates it and gets handled by Ruby.

[1]: #13
@kyrylo kyrylo force-pushed the 28-special-case-system-exit branch from 256ded8 to a801ba5 Compare January 18, 2016 14:35
@vmihailenco
Copy link

LGTM

kyrylo added a commit that referenced this pull request Jan 18, 2016
airbrake-ruby: reraise SystemExit instead of raising Airbrak::Error
@kyrylo kyrylo merged commit c4ef8c3 into master Jan 18, 2016
@kyrylo kyrylo deleted the 28-special-case-system-exit branch January 18, 2016 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

"Airbrake::Error: the 'default' notifier isn't configured" thrown after unsuccessful specs
2 participants