mozilla / aestimia

[Archived] Assessment tool
4 stars 10 forks source link

Aestimia hard crashes if webhook fails #54

Closed toolness closed 11 years ago

toolness commented 11 years ago

If the webhook provided by a submission's onChangeUrl property fails, the error propagates to destroy the process utterly. Example:

Listening on port 3000.

events.js:66
        throw arguments[1]; // Unhandled 'error' event
                       ^
Error: connect ECONNREFUSED
    at errnoException (net.js:769:11)
    at Object.afterConnect [as oncomplete] (net.js:760:19)