mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-11-11 10:12:00 +08:00
fix(err) re-add Draft Sending Errored event into Nylas Mail
This commit is contained in:
parent
9120c598e7
commit
dfd4693dce
1 changed files with 4 additions and 0 deletions
|
@ -257,6 +257,10 @@ export default class SendDraftTask extends BaseDraftTask {
|
|||
});
|
||||
}
|
||||
}
|
||||
Actions.recordUserEvent("Draft Sending Errored", {
|
||||
error: err.message,
|
||||
errorClass: err.constructor.name,
|
||||
})
|
||||
NylasEnv.reportError(err);
|
||||
|
||||
return Promise.resolve([Task.Status.Failed, err]);
|
||||
|
|
Loading…
Reference in a new issue