latysheff / node-sctp

SCTP userspace sockets for Node.js
MIT License
59 stars 10 forks source link

TypeError: this.debugger.warn is not a function #6

Closed ibc closed 5 years ago

ibc commented 5 years ago

Using master branch:

(node:78970) UnhandledPromiseRejectionWarning: TypeError: this.debugger.warn is not a function
    at Socket.createStream (/Users/ibc/src/xxxxxx/node_modules/sctp/lib/sockets.js:102:19)
ibc commented 5 years ago

Yes, a missing this.debugger.warn = debug('sctp:sockets:###') in line 62 of sockets.js.

latysheff commented 5 years ago

thanks, fixed