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