mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-20 18:29:06 +00:00
On database error: Escape copies error and quits, additional logging
This commit is contained in:
@@ -595,6 +595,7 @@ async function removeDB(): Promise<void> {
|
||||
);
|
||||
}
|
||||
|
||||
logger.warn('removeDB: Removing all database files');
|
||||
rimraf.sync(databaseFilePath);
|
||||
rimraf.sync(`${databaseFilePath}-shm`);
|
||||
rimraf.sync(`${databaseFilePath}-wal`);
|
||||
|
||||
Reference in New Issue
Block a user