'use strict'

let logger = require('tracer').colorConsole()

module.exports = function(err) {
  logger.error('Database Error | ', err)

  this.status(500).send({
    message: 'An error occurred.'
  })
}

@@ -107,16 +107,14 @@
 or('
-Database
+Server
  Err

Change error message to be a broader context