1. Andriy Kornatskyy
  2. wheezy.web

Commits

Andriy Kornatskyy  committed b0ff4ac

Fixed python3 compatibility issue.

  • Participants
  • Parent commits 7e1bcea
  • Branches default

Comments (0)

Files changed (1)

File src/wheezy/web/middleware/errors.py

View file
  • Ignore whitespace
                 ''.join(format_exception_only(*exc_info[:2])).strip('\n'),
                 exc_info=exc_info,
                 extra=extra)
-            sys.exc_clear()
             response = internal_error()
         status_code = response.status_code
         if status_code >= 400: