From 002d967aac31a7c7b883cc6f2003e2db7afa6247 Mon Sep 17 00:00:00 2001 From: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com> Date: Mon, 15 May 2023 15:00:55 +0200 Subject: fix: Do not crash if not able to connect to TS (#346) * fix: Do not crash if not able to connect to TS Removes a bunch of `unwrap`s that would cause the thread to crash if connection to Thunderstore failed. * feat: Show failure notification in frontend --- src-vue/src/plugins/store.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'src-vue') diff --git a/src-vue/src/plugins/store.ts b/src-vue/src/plugins/store.ts index 00b8f35a..de4b3816 100644 --- a/src-vue/src/plugins/store.ts +++ b/src-vue/src/plugins/store.ts @@ -272,6 +272,7 @@ export const store = createStore({ mods = message; }) .catch((error) => { + showErrorNotification(error); console.error(error); return; }); -- cgit v1.2.3