Ticket #5478: patch-main.py-r9163.diff
| File patch-main.py-r9163.diff, 610 bytes (added by elnur <elnur.home@…>, 2 years ago) |
|---|
-
trac/web/main.py
507 507 if 'error' in e.reason.lower(): 508 508 title = e.reason 509 509 else: 510 title = 'Error: %s' % e.reason510 title = _('Error: %(message)s', message=e.reason) 511 511 # The message is based on the e.detail, which can be an Exception 512 512 # object, but not a TracError one: when creating HTTPException, 513 513 # a TracError.message is directly assigned to e.detail
