summaryrefslogtreecommitdiff
path: root/tt-rss.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2009-01-23 18:19:17 +0100
committerAndrew Dolgov <[email protected]>2009-01-23 18:19:17 +0100
commit273d1e293e63a27f28a4df7cd603d59d206907ef (patch)
tree043198d5f4d39d99ce0c621a226b139986496335 /tt-rss.js
parente8a429e3f80ea764d603b9f505e938e174fd0e64 (diff)
new style exception reporting
Diffstat (limited to 'tt-rss.js')
-rw-r--r--tt-rss.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/tt-rss.js b/tt-rss.js
index 1717cfbe2..2b6f7f822 100644
--- a/tt-rss.js
+++ b/tt-rss.js
@@ -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);
}
}