aboutsummaryrefslogtreecommitdiff
path: root/src-vue/src
diff options
context:
space:
mode:
authorGeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>2023-05-15 15:00:55 +0200
committerGitHub <noreply@github.com>2023-05-15 15:00:55 +0200
commit002d967aac31a7c7b883cc6f2003e2db7afa6247 (patch)
tree61adaea01c5a9517db61ed13c0984b28436fdf73 /src-vue/src
parent11beab3bc57412d5be72c5dec2948bad3e29ac44 (diff)
downloadFlightCore-002d967aac31a7c7b883cc6f2003e2db7afa6247.tar.gz
FlightCore-002d967aac31a7c7b883cc6f2003e2db7afa6247.zip
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
Diffstat (limited to 'src-vue/src')
-rw-r--r--src-vue/src/plugins/store.ts1
1 files changed, 1 insertions, 0 deletions
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<FlightCoreStore>({
mods = message;
})
.catch((error) => {
+ showErrorNotification(error);
console.error(error);
return;
});