Permalink
Browse files

raise better traceback

git-svn-id: https://svn.bluedynamics.eu/svn/module/bda.bfg.tile/trunk@2222 f119a143-da5b-4457-81e3-bee00661a780
  • Loading branch information...
1 parent 0960ad8 commit d22c0dfe4d17cd19db8ed205acb9688c71fcde6c rnix committed May 8, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 src/bda/bfg/tile/_api.py
View
@@ -165,8 +165,7 @@ def _secured_tile(context, request):
try:
return tile(context, request)
except Exception, e:
- print tile
- raise e
+ raise
msg = getattr(request, 'authdebug_message',
'Unauthorized: tile %s failed permission check' % tile)
if strict:

0 comments on commit d22c0df

Please sign in to comment.