strongloop / strong-mq

MQ API with cluster integration, implemented over various message queues.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Stomp error handling cant prevent proccess crash

vshabelnyk opened this issue · comments

Stomp error handling cant prevent proccess crash, in case if connection failed and even if you sunscribed to error event it will be called but after proccess will be terminated with unhandled error.
connection.open().on('error', function () {
// ... handle error (Called but not prevents process crash after)
});