Code: Select all
(node:15) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2178)
(node:15) UnhandledPromiseRejectionWarning: Error
at new Pt (/usr/src/api/node_modules/phidget22/phidget22.min.js:1:13902)
at Object.onReply (/usr/src/api/node_modules/phidget22/phidget22.min.js:2:17461)
at Bt.N.Bt.ondatamessage (/usr/src/api/node_modules/phidget22/phidget22.min.js:2:19938)
at Bt.onmessage (/usr/src/api/node_modules/phidget22/phidget22.min.js:2:15368)
at Bt.Rt (/usr/src/api/node_modules/phidget22/phidget22.min.js:2:12155)
at Socket.emit (events.js:198:13)
at addChunk (_stream_readable.js:288:12)
at readableAddChunk (_stream_readable.js:269:11)
at Socket.Readable.push (_stream_readable.js:224:10)
at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)