fix: move finally to outer try catch for delete method

pull/3083/head
yougotwill 9 months ago
parent 1737d4507b
commit bbe26f7404

@ -289,9 +289,9 @@ export async function sendConfigMessageAndDeleteEverything() {
await deleteDbLocally();
} catch (e) {
window?.log?.error(e);
} finally {
window.restart();
}
} finally {
window.restart();
}
}

Loading…
Cancel
Save