[*] report sending errors to sentry

This commit is contained in:
Juan Tejada 2017-01-24 13:13:05 -08:00
parent 6811a6f37e
commit b0f2068b08

View file

@ -54,6 +54,7 @@ class SendmailClient {
throw new APIError('Sending failed - Network Error', 401, {originalError: error})
}
NylasEnv.reportError(error)
throw new APIError('Sending failed', 500, {originalError: error});
}