From 3bc88ecb704be0b04b957398de9daf22eb8fc272 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 28 Sep 2005 20:37:07 +0000 Subject: [PATCH] need to see the exact error if it's not for lack of a network git-svn-id: svn://svn.open-ils.org/ILS/trunk@1882 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Evergreen/staff_client/chrome/content/evergreen/auth/auth.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Evergreen/staff_client/chrome/content/evergreen/auth/auth.js b/Evergreen/staff_client/chrome/content/evergreen/auth/auth.js index 3e9264649e..4478421109 100644 --- a/Evergreen/staff_client/chrome/content/evergreen/auth/auth.js +++ b/Evergreen/staff_client/chrome/content/evergreen/auth/auth.js @@ -169,8 +169,8 @@ function auth_init_callback(request) { if (!auth_init) { throw('null result'); } } catch(E) { G.offline = true; - sdump('D_ERROR','Error trying to communicate with the server. Entering OFFLINE mode.\n'); - s_alert('Error trying to communicate with the server. Entering OFFLINE mode.\n'); + sdump('D_ERROR','Error trying to communicate with the server. Entering OFFLINE mode.\n' + js2JSON(E) + '\n'); + s_alert('Error trying to communicate with the server. Entering OFFLINE mode.\n' + js2JSON(E) + '\n'); } sdump( 'D_AUTH', 'D_AUTH_INIT: ' + typeof(auth_init) + ' : ' + auth_init + '\n'); -- 2.43.2