alphagov/govuk_content_api — pull request #38 by jamiecobbett (2012-10-09 16:50:10+00:00)
Title: Record mongo errors in statsd

Without ```set :show_exceptions, false``` the error handler would never be invoked.

Did try writing a test, but difficult because using mocha to raise a mongo error would simply raise an error inline, rather than rendering an actual (error) response.