From a90a214708af9f0979d67c4e8aea64b66fbc4eed Mon Sep 17 00:00:00 2001 From: phasefx Date: Thu, 13 Jul 2006 18:06:28 +0000 Subject: [PATCH] log null results specifically git-svn-id: svn://svn.open-ils.org/ILS/trunk@4971 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/chrome/content/util/network.js | 2 ++ 1 file changed, 2 insertions(+) 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 79668fb54c..d90d41de0b 100644 --- a/Open-ILS/xul/staff_client/chrome/content/util/network.js +++ b/Open-ILS/xul/staff_client/chrome/content/util/network.js @@ -109,6 +109,8 @@ util.network.prototype = { r = 1; } else { + try { obj.error.sdump('D_SES_ERROR','request '+app+' '+name+' '+obj.error.pretty_print(sparams.slice(1,sparams.length-1))+ + '\no_params = ' + o_params + '\nReturned null\n'); } catch(E) { alert(E); } r = obj.error.yns_alert('Network failure. Please check your Internet connection to ' + data.server_unadorned + ' and choose Retry Network. If you need to enter Offline Mode, choose Proceed Offline in this and subsequent dialogs. If you believe this error is due to a bug in Evergreen and not network problems, please contact your helpdesk or friendly Evergreen admins, and give them this message: method=' + name + ' params=' + js2JSON(params) + '.','Network Failure','Retry Network','Proceed Offline',null,'Check here to confirm this message'); if (r == 1) { data.proceed_offline = true; data.stash('proceed_offline'); -- 2.11.0