[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnue] r7151 - trunk/gnue-common/src/datasources/drivers/appserver/appse
From: |
reinhard |
Subject: |
[gnue] r7151 - trunk/gnue-common/src/datasources/drivers/appserver/appserver |
Date: |
Thu, 10 Mar 2005 10:40:45 -0600 (CST) |
Author: reinhard
Date: 2005-03-10 10:40:44 -0600 (Thu, 10 Mar 2005)
New Revision: 7151
Modified:
trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
Log:
Do not obscure server side exceptions on connect.
Modified:
trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
2005-03-10 16:34:24 UTC (rev 7150)
+++ trunk/gnue-common/src/datasources/drivers/appserver/appserver/Connection.py
2005-03-10 16:40:44 UTC (rev 7151)
@@ -113,15 +113,9 @@
if e.getName () == 'AuthError':
raise Exceptions.LoginError, e.getMessage ()
else:
- raise Exceptions.ConnectionError, e.getMessage ()
-
- except gException, e:
- raise Exceptions.ConnectError, e.getMessage ()
+ raise
- except:
- raise Exceptions.ConnectError, errors.getException () [2]
-
# ---------------------------------------------------------------------------
# Commit active transaction
# ---------------------------------------------------------------------------
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnue] r7151 - trunk/gnue-common/src/datasources/drivers/appserver/appserver,
reinhard <=