diff options
author | Andrew Dolgov <[email protected]> | 2009-01-23 18:19:17 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2009-01-23 18:19:17 +0100 |
commit | 273d1e293e63a27f28a4df7cd603d59d206907ef (patch) | |
tree | 043198d5f4d39d99ce0c621a226b139986496335 /tt-rss.js | |
parent | e8a429e3f80ea764d603b9f505e938e174fd0e64 (diff) |
new style exception reporting
Diffstat (limited to 'tt-rss.js')
-rw-r--r-- | tt-rss.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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); } } |