mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-09-08 21:55:54 +08:00
[*] report sending errors to sentry
This commit is contained in:
parent
6811a6f37e
commit
b0f2068b08
1 changed files with 1 additions and 0 deletions
|
@ -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});
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue