mirror of
https://github.com/Mezeporta/Erupe.git
synced 2025-12-12 23:14:36 +01:00
additional error handling in launcher
This commit is contained in:
@@ -248,11 +248,16 @@ function switchPrompt() {
|
||||
}
|
||||
} catch (e) {
|
||||
addLog('Error parsing character info XML: '+e, 'error');
|
||||
switchPrompt();
|
||||
return;
|
||||
}
|
||||
let uid = localStorage.getItem('uid');
|
||||
if (uid != 'null' && uids.indexOf(uid) >= 0) {
|
||||
setUidIndex(uids.indexOf(uid));
|
||||
}
|
||||
} else {
|
||||
addLog('Error setting character ID: '+e, 'error');
|
||||
switchPrompt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user