Issue #089 [New/open] - Add exception details to http 500 error

Posted by andreas.riegg

Change line 263 of http.py from

self.sendResponse(500)

to

self.sendResponse(500, "%s" % e)

This will allow getting more information when any uncought Python exception occurs in WebIOPi (most likely in custom scripts of users).

See this thread for details:

https://groups.google.com/d/msg/webiopi/4K78j3Cfc8k/K-0gq\_RTGQIJ