Force error

This commit is contained in:
ThatOneCalculator 2022-07-05 20:45:29 -07:00
parent b9f9fe2927
commit 5962dd5c97

View file

@ -22,6 +22,11 @@
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
const localeVersion = localStorage.getItem('localeVersion');
const localeOutdated = (localeVersion == null || localeVersion !== v);