MCPcopy Index your code
hub / github.com/webpy/webpy / debugerror

Function debugerror

web/debugerror.py:321–329  ·  view source on GitHub ↗

A replacement for `internalerror` that presents a nice page with lots of debug information for the programmer. (Based on the beautiful 500 page from [Django](http://djangoproject.com/), designed by [Wilson Miner](http://wilsonminer.com/).)

()

Source from the content-addressed store, hash-verified

319
320
321def debugerror():
322 """
323 A replacement for `internalerror` that presents a nice page with lots
324 of debug information for the programmer.
325
326 (Based on the beautiful 500 page from [Django](http://djangoproject.com/),
327 designed by [Wilson Miner](http://wilsonminer.com/).)
328 """
329 return web._InternalError(djangoerror())
330
331
332def emailerrors(to_address, olderror, from_address=None):

Callers 1

internalerrorMethod · 0.90

Calls 1

djangoerrorFunction · 0.85

Tested by

no test coverage detected