I agree with most of the thinks TIm just said, I found some more duplication in problems in my original exception and error handling code.
Going to open new tracker issues and concentrate on the cleanup because I need to get this working asap for the web services layer.
Tracker issue: MDL-20676
Thanks for your valuable ideas and feedback.
General developer forum
On Moodle 2.0 - disabling stack traces to webbrowser?
This discussion has been locked so you can no longer reply to it.