Force error
This commit is contained in:
parent
b9f9fe2927
commit
5962dd5c97
1 changed files with 5 additions and 0 deletions
|
@ -22,6 +22,11 @@
|
||||||
|
|
||||||
const v = localStorage.getItem('v') || VERSION;
|
const v = localStorage.getItem('v') || VERSION;
|
||||||
|
|
||||||
|
let forceError = localStorage.getItem('forceError');
|
||||||
|
if (forceError != null) {
|
||||||
|
renderError('FORCED_ERROR', 'This error is forced by having forceError in local storage.')
|
||||||
|
}
|
||||||
|
|
||||||
//#region Detect language & fetch translations
|
//#region Detect language & fetch translations
|
||||||
const localeVersion = localStorage.getItem('localeVersion');
|
const localeVersion = localStorage.getItem('localeVersion');
|
||||||
const localeOutdated = (localeVersion == null || localeVersion !== v);
|
const localeOutdated = (localeVersion == null || localeVersion !== v);
|
||||||
|
|
Loading…
Reference in a new issue