From: phasefx Date: Tue, 8 Aug 2006 14:27:04 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=bc176d0ff35e6c01d441300d4e85618023b4350b;p=evergreen%2Fpines.git *** empty log message *** git-svn-id: svn://svn.open-ils.org/ILS/trunk@5364 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/xul/staff_client/chrome/content/util/network.js b/Open-ILS/xul/staff_client/chrome/content/util/network.js index 78eb7dd89f..fc7ecee3d0 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/network.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/network.js @@ -25,13 +25,14 @@ util.network.prototype = { result = req.getResultObject(); } catch(E) { try { - obj.error.sdump('D_ERROR','DEBUG: got here'); if (instanceOf(E, NetworkFailure)) { obj.NETWORK_FAILURE = E.status(); } else { try { obj.NETWORK_FAILURE = js2JSON(E); } catch(F) { dump(F + '\n'); obj.NETWORK_FAILURE = E; }; } - } catch(I) { dump(I + '\n'); } + } catch(I) { + obj.NETWORK_FAILURE = 'Unknown status'; + } result = null; } return result; @@ -128,7 +129,6 @@ util.network.prototype = { if (result != null) return req; if (obj.NETWORK_FAILURE == null) { obj.error.sdump('D_SES_ERROR','method: ' + name + '\nparams: ' + js2JSON(params) + '\nReturned null. There was no NetworkFailure object thrown.'); - obj.error.sdump('D_ALERT','method: ' + name + '\nparams: ' + js2JSON(params) + '\nReturned null. There was no NetworkFailure object thrown.'); //return req; }