Update better-sqlite3

This commit is contained in:
Fedor Indutny 2022-04-07 15:49:23 -07:00 committed by GitHub
parent b96b02593b
commit a15d84aade
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 13 additions and 48 deletions

View file

@ -592,10 +592,7 @@ function makeChannel(fnName: string) {
'Detected sql corruption in renderer process. ' +
`Restarting the application immediately. Error: ${error.message}`
);
ipc?.send(
'database-error',
`${error.stack}\n${Server.getCorruptionLog()}`
);
ipc?.send('database-error', error.stack);
}
log.error(
`Renderer SQL channel job (${fnName}) error ${error.message}`