X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=tt-rss.js;h=2b6f7f822bb3e0d0332dc84c0f9c896d4b4b1a41;hb=273d1e293e63a27f28a4df7cd603d59d206907ef;hp=1717cfbe27ad430d7c95df385ced05cf4ed88079;hpb=e8a429e3f80ea764d603b9f505e938e174fd0e64;p=tt-rss.git diff --git a/tt-rss.js b/tt-rss.js index 1717cfbe..2b6f7f82 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); } }