Skip to content

Commit

Permalink
#63 Delegate error handling to Elastic4Play in order to make them mor…
Browse files Browse the repository at this point in the history
…e structured (requires Elastic4play 1.1.2)
  • Loading branch information
To-om committed Dec 16, 2016
1 parent 85eaeb0 commit 3e5a290
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 58 deletions.
55 changes: 0 additions & 55 deletions thehive-backend/app/global/ErrorHandler.scala

This file was deleted.

3 changes: 0 additions & 3 deletions thehive-backend/conf/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
# Register module for dependency injection
play.modules.enabled += global.TheHive

# handler for errors (transform exception to related http status code
play.http.errorHandler = global.TheHiveErrorHandler

# handler for requests (check if database is in maintenance or not)
#play.http.requestHandler = TheHiveHostRequestHandler

Expand Down

0 comments on commit 3e5a290

Please sign in to comment.