Show the error too

This is getting annoying
This commit is contained in:
Lim Chee Aun 2023-05-12 00:05:22 +08:00
parent 4d14da35a4
commit 9bb66e57ae

View file

@ -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();