need to see the exact error if it's not for lack of a network
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 28 Sep 2005 20:37:07 +0000 (20:37 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 28 Sep 2005 20:37:07 +0000 (20:37 +0000)
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

index 3e92646..4478421 100644 (file)
@@ -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');