You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@gump.apache.org by le...@apache.org on 2005/04/17 17:51:48 UTC
svn commit: r161666 - gump/branches/Gump3/pygump/python/gump/config.py
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!