Author: johannes
Date: 2007-11-12 08:32:37 -0600 (Mon, 12 Nov 2007)
New Revision: 9795
Modified:
trunk/gnue-common/src/apps/errors.py
Log:
Use the given exception type for determining the excpetions' name
Modified: trunk/gnue-common/src/apps/errors.py
===================================================================
--- trunk/gnue-common/src/apps/errors.py 2007-11-08 09:12:20 UTC (rev 9794)
+++ trunk/gnue-common/src/apps/errors.py 2007-11-12 14:32:37 UTC (rev 9795)
@@ -252,7 +252,7 @@
aTrace = aTrace or sTrace
if isinstance (aValue, gException):
- return (aValue.getGroup (), aValue.getName (), aValue.getMessage (),
+ return (aValue.getGroup (), aValue.getName (aType), aValue.getMessage (),
aValue.getDetail (count, aType, aValue, aTrace))
else:
# Exception was not a descendant of gException, so we construct the tuple
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.