Fixed login error

This commit is contained in:
hydrant
2018-12-16 00:59:45 +01:00
parent 5fab926d28
commit fd5439ca71

View File

@@ -87,5 +87,9 @@ mp.events.add('disableLogin', () => {
}); });
function showCefError(error) { function showCefError(error) {
loginBrowser.execute(`showError('${error}')`); try {
loginBrowser.execute(`showError('${error}')`);
} catch (e) {
console.log(e);
}
} }