easternbloc / node-stomp-client

A STOMP client for Node.js
Other
93 stars 47 forks source link

Added error handling logic for ERROR frames - Dogan #1

Closed tepafoo closed 12 years ago

tepafoo commented 12 years ago

Hello coders,

For your kind review and pull.

Commit message:

"Added logic to register error callbacks on connect() and de-register on disconnect(). All registered error callbacks get called on reception of ERROR frames. Also removed unnecessary callback in subscribe() method signature."

Cheers

Dogan

easternbloc commented 12 years ago

Looks good to me. I'll address the mocking issues at some point as I'm not overly fond of those. Cheers.

tepafoo commented 12 years ago

:)