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
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}`