mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-03 13:27:11 +00:00
refactor error reporting to AppBase; keep exception_error() for now as a shim
This commit is contained in:
@@ -135,13 +135,13 @@
|
||||
f.sub_btn.disabled = true;
|
||||
}
|
||||
} catch (e) {
|
||||
exception_error("checkUsername_callback", e);
|
||||
App.Error.report(e);
|
||||
}
|
||||
|
||||
} });
|
||||
|
||||
} catch (e) {
|
||||
exception_error("checkUsername", e);
|
||||
App.Error.report(e);
|
||||
}
|
||||
|
||||
return false;
|
||||
@@ -171,7 +171,7 @@
|
||||
return true;
|
||||
|
||||
} catch (e) {
|
||||
exception_error("validateRegForm", e);
|
||||
alert(e.stack);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user