Skip to content

Commit

Permalink
Added InternalServerError, so 500's will have respond with a 500, not…
Browse files Browse the repository at this point in the history
… a 200.
  • Loading branch information
Vivek Dasari committed Aug 28, 2015
1 parent 3f211b0 commit 61bbe98
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -78,7 +78,7 @@ trait PerRequest extends Actor {
r.complete(BadRequest, AgoraException(e.getMessage, e.getCause, BadRequest))
Stop
case e: Throwable =>
r.complete(AgoraException(e.getMessage, e.getCause, InternalServerError))
r.complete(InternalServerError, AgoraException(e.getMessage, e.getCause, InternalServerError))
Stop
}
}
Expand Down

0 comments on commit 61bbe98

Please sign in to comment.