From 273d1e293e63a27f28a4df7cd603d59d206907ef Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 23 Jan 2009 18:19:17 +0100 Subject: new style exception reporting --- tt-rss.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tt-rss.js') 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); } } -- cgit v1.2.3