mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-21 22:54:11 +08:00
fix(errors): onerror contains an error..
This commit is contained in:
parent
8f7795b40f
commit
3b49e132ab
1 changed files with 1 additions and 1 deletions
|
@ -235,7 +235,7 @@ class NylasEnvConstructor extends Model
|
|||
[message, url, line, column, originalError] = args
|
||||
{line, column} = mapSourcePosition({source: url, line, column})
|
||||
originalError.stack = convertStackTrace(originalError.stack, sourceMapCache)
|
||||
@reportError(originalerror, {url, line, column})
|
||||
@reportError(originalError, {url, line, column})
|
||||
|
||||
Promise.onPossiblyUnhandledRejection (error, promise) =>
|
||||
error.stack = convertStackTrace(error.stack, sourceMapCache)
|
||||
|
|
Loading…
Reference in a new issue