fix: move finally to outer try catch for delete method

pull/3083/head
yougotwill 1 year ago
parent 1737d4507b
commit bbe26f7404

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

Loading…
Cancel
Save