Skip to content

Stacktrace not printed #259

Description

@oupat

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions