Skip to content

Commit

Permalink
Making error handling a little safer.
Browse files Browse the repository at this point in the history
  • Loading branch information
heynemann committed Apr 9, 2013
1 parent bdcabb1 commit dcfd9f8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions thumbor/handlers/__init__.py
Expand Up @@ -262,9 +262,8 @@ def _handle_request_exception(self, e):

finally:
del exc_info

logger.error('ERROR: %s' % "".join(msg))
self.send_error(500)
logger.error('ERROR: %s' % "".join(msg))
self.send_error(500)


##
Expand Down

0 comments on commit dcfd9f8

Please sign in to comment.