Skip to content
Snippets Groups Projects
Unverified Commit 84b8ffb7 authored by Kainoa Kanter's avatar Kainoa Kanter Committed by GitHub
Browse files

enhance(client): Force error screen (#8947)

parent 3feaf392
No related branches found
No related tags found
No related merge requests found
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment