On database error: Escape copies error and quits, additional logging
This commit is contained in:
parent
dad4fffb4e
commit
364d690cf3
2 changed files with 27 additions and 20 deletions
|
@ -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`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue