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

notice_notifier: fix confusing error message #525

Merged
merged 1 commit into from
Dec 16, 2019
Merged

Conversation

kyrylo
Copy link
Contributor

@kyrylo kyrylo commented Dec 16, 2019

Addresses #524 (Error Airbrake: performance notifier closed causes deadlock)

A user reported that he saw the following message in the logs:

Airbrake::Error (attempted to build deadlock; recursive locking with closed
Airbrake instance)

Because exceptions are stringified, the error message can get very confusing. In
issue #524 the user thought that there's a deadlock in airbrake-ruby (me too,
to be honest), but when I took a closer look, it turned out that we print the
exception we're building as a string.

I changed the message, so it's more obvious what's going on.

Addresses #524 (Error Airbrake: performance notifier closed causes deadlock)

A user reported that he saw the following message in the logs:

> Airbrake::Error (attempted to build deadlock; recursive locking with closed
  Airbrake instance)

Because exceptions are stringified, the error message can get very confusing. In
issue #524 the user thought that there's a deadlock in airbrake-ruby (me too,
to be honest), but when I took a closer look, it turned out that we print the
exception we're building as a string.

I changed the message, so it's more obvious what's going on.
@kyrylo kyrylo merged commit fd89b78 into master Dec 16, 2019
@kyrylo kyrylo deleted the 1045-poor-error-msg branch December 16, 2019 11:40
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.

1 participant