gump-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From leosim...@apache.org
Subject svn commit: r161666 - gump/branches/Gump3/pygump/python/gump/config.py
Date Sun, 17 Apr 2005 15:51:48 GMT
Author: leosimons
Date: Sun Apr 17 08:51:48 2005
New Revision: 161666

URL: http://svn.apache.org/viewcvs?view=rev&rev=161666
Log:
Use optmistic error handling.

*  pygump/python/gump/config.py: use the new OptimisticLoggingErrorHandler so processing continues
if a plugin throws an exception.

Modified:
    gump/branches/Gump3/pygump/python/gump/config.py

Modified: gump/branches/Gump3/pygump/python/gump/config.py
URL: http://svn.apache.org/viewcvs/gump/branches/Gump3/pygump/python/gump/config.py?view=diff&r1=161665&r2=161666
==============================================================================
--- gump/branches/Gump3/pygump/python/gump/config.py (original)
+++ gump/branches/Gump3/pygump/python/gump/config.py Sun Apr 17 08:51:48 2005
@@ -155,9 +155,10 @@
 
     # TODO: implement an error handler that does actual recovery...
     
-    from gump.plugins import LoggingErrorHandler
+    #from gump.plugins import LoggingErrorHandler
+    from gump.plugins import OptimisticLoggingErrorHandler
     log = get_logger(config, "plugin.error-handler")
-    return LoggingErrorHandler(log)
+    return OptimisticLoggingErrorHandler(log)
 
 ###
 ### Changing anything below this line is for advanced gump hackers only!



Mime
View raw message