Captures any error or uncaught exception in production and hides those errors from view.
Fixes #501