Skip to content

Trying to debug message undefined error #256

Description

@phil-warner

We've had a handful of uncaught exceptions in our application. The error stack is shown below. It's quite hard to pin it down using the node uncaughtException handler, as we only have access to the error and not the parameters of the request. Does this suggest anything to you guys?

TypeError: Cannot read properties of undefined (reading 'message')
at PDU.encode (.../node_modules/smpp/lib/defs.js:371:58)
at PDU._filter (.../node_modules/smpp/lib/pdu.js:141:40)
at PDU.toBuffer (.../node_modules/smpp/lib/pdu.js:160:7)
at Session.send (.../node_modules/smpp/lib/smpp.js:97:24)
at Session.submit_sm (.../node_modules/smpp/lib/smpp.js:130:15)

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions