71686: Added try/catch to prevent rendering 500 error page. Also added 400 error code to prevent bad requests.
Merge pull request #35 from msienkiewicz/bug_71686

Bug 71686: Added try/catch to prevent rendering 500 error page. Also added 4...
Merge branch 'master' into offline