changeset 5734:a0c4450dce2c

filter exception logging: fix wrong method name
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 28 Nov 2010 17:54:38 +0100
parents 4ca7ca278669
children 4a04a256898e
files MoinMoin/search/builtin.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/search/builtin.py	Sun Nov 28 16:59:04 2010 +0100
+++ b/MoinMoin/search/builtin.py	Sun Nov 28 17:54:38 2010 +0100
@@ -204,7 +204,7 @@
             logging.debug("Filter %s returned %d characters for file %s" % (modulename, len(data), filename))
         except (OSError, IOError), err:
             data = ''
-            logging.traceback("Filter %s threw error '%s' for file %s" % (modulename, str(err), filename))
+            logging.exception("Filter %s threw error '%s' for file %s" % (modulename, str(err), filename))
         return mt.mime_type(), data
 
     def _indexingRequest(self, request):