Ticket #7063: debug.py.diff
File debug.py.diff, 686 bytes (added by , 17 years ago) |
---|
-
debug.py
166 166 'template_does_not_exist': template_does_not_exist, 167 167 'loader_debug_info': loader_debug_info, 168 168 }) 169 170 print '-' * 80 171 print ' 500 Exception', c['exception_type'], c['exception_value'] 172 print ' url:', request.path, '\n' 173 for fr in [ frames[i] for i in range( len(frames)-1, 0, -1 ) ]: 174 print ' trace: [%5s] %-20s in %s' % (fr['lineno'] , fr['function'], fr['filename'] ) 175 print '-' * 80 176 169 177 return t.render(c) 170 178 171 179 def technical_404_response(request, exception):