mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 19:07:15 +08:00
bump(package): upgrade Raven
fix(log): use new raven
This commit is contained in:
parent
7364ecb9fd
commit
d2580b691b
3 changed files with 4 additions and 3 deletions
|
@ -72,7 +72,7 @@
|
|||
"property-accessors": "^1",
|
||||
"proxyquire": "1.3.1",
|
||||
"q": "^1.0.1",
|
||||
"raven": "0.7.2",
|
||||
"raven": "1.1.1",
|
||||
"react": "^15.3.2",
|
||||
"react-addons-css-transition-group": "^15.3.0",
|
||||
"react-addons-perf": "^15.3.0",
|
||||
|
|
2
src/K2
2
src/K2
|
@ -1 +1 @@
|
|||
Subproject commit fb7836f280a535361adfd7b2867eab678d2112f3
|
||||
Subproject commit d85ca0a9387a1f2ca059e60fd3bf59b7d381cb85
|
|
@ -548,9 +548,10 @@ export default class Application extends EventEmitter {
|
|||
|
||||
ipcMain.on("report-error", (event, params = {}) => {
|
||||
const errorParams = JSON.parse(params.errorJSON || "");
|
||||
const extra = JSON.parse(params.extra);
|
||||
let err = new Error();
|
||||
err = Object.assign(err, errorParams);
|
||||
global.errorLogger.reportError(err, params.extra)
|
||||
global.errorLogger.reportError(err, extra)
|
||||
event.returnValue = true
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in a new issue