1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-14 17:55:55 +00:00

new style exception reporting

This commit is contained in:
Andrew Dolgov
2009-01-23 18:19:17 +01:00
parent e8a429e3f8
commit 273d1e293e
6 changed files with 103 additions and 123 deletions

View File

@@ -131,14 +131,14 @@ function backend_sanity_check_callback(transport) {
}
if (!transport.responseXML) {
fatalError(3, "[D001, Received reply is not XML]: " + transport.responseText);
fatalError(3, "Sanity check: Received reply is not XML", transport.responseText);
return;
}
var reply = transport.responseXML.firstChild.firstChild;
if (!reply) {
fatalError(3, "[D002, Invalid RPC reply]: " + transport.responseText);
fatalError(3, "Sanity check: invalid RPC reply", transport.responseText);
return;
}
@@ -170,7 +170,7 @@ function backend_sanity_check_callback(transport) {
init_second_stage();
} catch (e) {
exception_error("backend_sanity_check_callback", e);
exception_error("backend_sanity_check_callback", e, transport);
}
}