Author: johannes Date: 2007-11-13 06:57:29 -0600 (Tue, 13 Nov 2007) New Revision: 9797
Modified: trunk/gnue-common/src/base/log.py Log: Use exception information as returned by getException() instead of using the default Formatters' formatException() issue123 in-progress Modified: trunk/gnue-common/src/base/log.py =================================================================== --- trunk/gnue-common/src/base/log.py 2007-11-12 14:34:58 UTC (rev 9796) +++ trunk/gnue-common/src/base/log.py 2007-11-13 12:57:29 UTC (rev 9797) @@ -313,8 +313,8 @@ (group, name, message, detail) = errors.getException(None, etype, evalue, etraceback) logger = "exception.%s.%s" % (group, etype) - error_n(logger, "Unhandled exception occured", - exc_info=(etype, evalue, etraceback)) + text = u_("Unhandled exception %s:\n%s") % (name, detail) + error_n(logger, text) # ----------------------------------------------------------------------------- # Exception and call stack logging _______________________________________________ commit-gnue mailing list commit-gnue@gnu.org http://lists.gnu.org/mailman/listinfo/commit-gnue