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

Stacktrace not printed #259

Open
oupat opened this issue Jun 24, 2024 · 0 comments
Open

Stacktrace not printed #259

oupat opened this issue Jun 24, 2024 · 0 comments

Comments

@oupat
Copy link

oupat commented Jun 24, 2024

I face the same issue as the user here (please look at his answer, the More detailed story
https://stackoverflow.com/questions/66463611/paho-mqtt-js-client-loses-connection-to-mosquitto-broker-when-i-publish-or-recei

in line 1255 and in line 1444 it is
var errorStack = ((error.hasOwnProperty("stack") == "undefined") ? error.stack.toString() : "No Error Stack Available");
so when it faces an error, it prints No Error Stack Available instead of giving the stack. From what the stackoverflow user says and seems logical, it should be reversed.
Could this be fixed?

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

No branches or pull requests

1 participant