API: Don't debug output when exception reaches wsgi layer

Unless of course we ask for it

Change-Id: Iab51e854bca3b21b83133dd44ebc6bdd8641e2fd
Merge "API: Don't debug output when exception reaches wsgi layer"