mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 12:19:41 +00:00
Better reporting for DB corruption errors
This commit is contained in:
@@ -573,7 +573,10 @@ function makeChannel(fnName: string) {
|
||||
'Detected sql corruption in renderer process. ' +
|
||||
`Restarting the application immediately. Error: ${error.message}`
|
||||
);
|
||||
ipc?.send('database-error', error.stack);
|
||||
ipc?.send(
|
||||
'database-error',
|
||||
`${error.stack}\n${Server.getCorruptionLog()}`
|
||||
);
|
||||
}
|
||||
log.error(
|
||||
`Renderer SQL channel job (${fnName}) error ${error.message}`
|
||||
|
||||
Reference in New Issue
Block a user