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

Don't attempt to print backtrace when it's not available (EM event handler) #245

Merged
merged 1 commit into from
Jul 1, 2018
Merged

Don't attempt to print backtrace when it's not available (EM event handler) #245

merged 1 commit into from
Jul 1, 2018

Conversation

kowalskey
Copy link
Contributor

@kowalskey kowalskey commented Jun 4, 2018

Hello,
Looks like Exceptions are allowed to not have backtrace available

Trying to join() on nil terminates puffing billy so I think it's feasible to check whether exception has backtrace before atttempting to print it

I had some problems with puffing-billy terminating because of exception in main_loop thread what caused it to terminate and as a consequence - following tests in suite to fail because proxy has just died so no requests passed through it would receive a response

Causing an exception in EM error handler terminates
thread, what in turns makes subsequent specs fail
@kowalskey kowalskey changed the title Don't attempt print backtrace when it's not available EM event handler Don't attempt to print backtrace when it's not available EM event handler Jun 4, 2018
@kowalskey kowalskey changed the title Don't attempt to print backtrace when it's not available EM event handler Don't attempt to print backtrace when it's not available (EM event handler) Jun 4, 2018
@ronwsmith ronwsmith merged commit 0a515ba into oesmith:master Jul 1, 2018
@ronwsmith
Copy link
Collaborator

Released in 1.1.2

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.

2 participants