Skip to content

Commit

Permalink
Merge pull request #163 from eponvert/less-error-logging
Browse files Browse the repository at this point in the history
Do not log errors in the ErrorHandler
  • Loading branch information
capotej committed Jan 7, 2015
2 parents ad3b558 + 63ca2ab commit fcce166
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/main/scala/com/twitter/finatra/ErrorHandler.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import com.twitter.app.App
object ErrorHandler extends App with Logging {

def apply(request: Request, e: Throwable, controllers: ControllerCollection) = {
log.error(e, "Internal Server Error", Nil)
request.error = Some(e)
ResponseAdapter(request, controllers.errorHandler(request))
}
Expand Down

0 comments on commit fcce166

Please sign in to comment.