Commit 559a7b0c authored by Chris McDonough's avatar Chris McDonough

2.7 raises NotFound whenever traversal fails, but this should likely

be ignored by the SiteErrorLog (thanks to philikon).
parent 79969808
......@@ -13,7 +13,7 @@
##############################################################################
"""Site error log module.
$Id: SiteErrorLog.py,v 1.15 2003/02/07 18:16:37 evan Exp $
$Id: SiteErrorLog.py,v 1.16 2003/07/21 04:16:22 chrism Exp $
"""
import os
......@@ -118,7 +118,7 @@ class SiteErrorLog (SimpleItem):
# Exceptions that happen all the time, so we dont need
# to log them. Eventually this should be configured
# through-the-web.
_ignored_exceptions = ( 'Unauthorized', )
_ignored_exceptions = ( 'Unauthorized', 'NotFound' )
security.declarePrivate('raising')
def raising(self, info):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment