mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-02-24 16:14:01 +08:00
fix(database): report if database errors on setup
This commit is contained in:
parent
6d6b5ec8f2
commit
cd8aa49e7d
1 changed files with 1 additions and 0 deletions
|
@ -166,6 +166,7 @@ class DatabaseStore extends NylasStore
|
|||
_handleSetupError: (err) =>
|
||||
console.error(err)
|
||||
console.log(atom.getWindowType())
|
||||
atom.errorReporter.reportError(err)
|
||||
app = require('remote').getGlobal('application')
|
||||
app.rebuildDatabase()
|
||||
|
||||
|
|
Loading…
Reference in a new issue