Skip to content

Fixed missing stack when exception is thrown - #213

Open
arsu-leo wants to merge 1 commit into
eclipse-paho:developfrom
arsu-leo:stack-fix
Open

Fixed missing stack when exception is thrown#213
arsu-leo wants to merge 1 commit into
eclipse-paho:developfrom
arsu-leo:stack-fix

Conversation

@arsu-leo

Copy link
Copy Markdown

When testing for stack on errors, the statements were reversed.
For instance, if user code throws an exception, it states "No Error Stack Available" on the error making it quite difficult to debug.
Furthermore, if client browser's Errors would not have the stack field, the fixed statements would throw an exception.

Signed-off-by: Lleonard Subirana <arsu.leo@gmail.com>
@arsu-leo

arsu-leo commented Jan 14, 2020

Copy link
Copy Markdown
Author

I was trying to properly submit a change but I'm being rejected due someone's mail not being valid.

Someone who has nothing to to with my commit/pull request.

I will leave this here and is up to you to take care of your messy process.

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