Commit 7ec7171d authored by Shane Hathaway's avatar Shane Hathaway

Fixed one more spot that was raising the wrong exception.

parent fa074cf7
......@@ -169,7 +169,8 @@ def zpublisher_exception_hook(published, REQUEST, t, v, traceback):
error_log_url = log.raising((t, v, traceback))
if (getattr(REQUEST.get('RESPONSE', None), '_error_format', '')
!='text/html'): raise
!='text/html'):
raise t, v, traceback
if (published is None or published is app or
type(published) is ListType):
......
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