From 9bb66e57ae6820a03964a9b9e0fe06b65bb5d091 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Fri, 12 May 2023 00:05:22 +0800 Subject: [PATCH] Show the error too This is getting annoying --- src/utils/store-utils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/store-utils.js b/src/utils/store-utils.js index 7b1deef5..059727e1 100644 --- a/src/utils/store-utils.js +++ b/src/utils/store-utils.js @@ -44,7 +44,7 @@ export function getCurrentInstance() { return (currentInstance = instances[instance]); } catch (e) { console.error(e); - alert('Failed to load instance configuration. Please try again.'); + alert(`Failed to load instance configuration. Please try again.\n\n${e}`); // Temporary fix for corrupted data store.local.del('instances'); location.reload();