mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-24 16:58:47 +01:00
Show the error too
This is getting annoying
This commit is contained in:
parent
4d14da35a4
commit
9bb66e57ae
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ export function getCurrentInstance() {
|
||||||
return (currentInstance = instances[instance]);
|
return (currentInstance = instances[instance]);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(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
|
// Temporary fix for corrupted data
|
||||||
store.local.del('instances');
|
store.local.del('instances');
|
||||||
location.reload();
|
location.reload();
|
||||||
|
|
Loading…
Reference in a new issue