(node:26029) UnhandledPromiseRejectionWarning: TypeError: done is not a function
at Promise.resolve.then.then.catch.then (/root/devBetaBackend/node_modules/loopback-socket/lib/loopback-socket.js:52:7)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
(node:26029) 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: 1)
(node:26029) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Sup!
I ran into a problem with custom handlers:
Error Log:
Any idea what I could be doing wrong? :)
Thanks,
Marvin / Nop0x