Skip to content

Instantly share code, notes, and snippets.

@stevef
Created September 18, 2013 20:29
Show Gist options
  • Save stevef/6615185 to your computer and use it in GitHub Desktop.
Save stevef/6615185 to your computer and use it in GitHub Desktop.
error {
case e => {
val logger = LoggerFactory.getLogger(getClass)
logger.info("an exception occurred: " + e.printStackTrace())
//logger.info("the request body is: " + request)
NotFound("An error occurred, please contact [email protected]")
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment