Skip to content

Commit

Permalink
Show exception with stack trace on send_message error (#394)
Browse files Browse the repository at this point in the history
* Show exception with stack trace on send_message error.

* Trace interpolated into @error argument.

* Using exception keyword of @error
  • Loading branch information
yha authored Mar 12, 2020
1 parent 9229881 commit ee52ba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/connection.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ function send_message(
@error(
"An exception occurred while trying to send a WebIO message to a "
* "frontend:",
exception=ex,
exception = (ex, catch_backtrace())
)
delete!(pool.connections, connection)
finally
Expand Down

0 comments on commit ee52ba2

Please sign in to comment.