Edgewall Software

Ticket #5387: t5387.diff

File t5387.diff, 431 bytes (added by thatch, 2 years ago)
  • trac/web/main.py

     
    427427            return [] 
    428428 
    429429    except Exception, e: 
    430         env.log.exception(e) 
    431  
     430        if env: 
     431            env.log.exception(e) 
    432432        if req.hdf: 
    433433            req.hdf['title'] = to_unicode(e) or 'Error' 
    434434            req.hdf['error'] = {