Skip to content

Commit

Permalink
Log full stack trace on validator exceptions (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
dehall authored May 8, 2024
1 parent b3f3977 commit 6ef15b2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ fun Route.validationModule() {
try {
call.respond(HttpStatusCode.OK, validationController.validateRequest(request))
} catch (e: Exception) {
logger.error(e.localizedMessage)
logger.error(e.localizedMessage, e)
call.respond(HttpStatusCode.InternalServerError, e.localizedMessage)
}
}
Expand Down

0 comments on commit 6ef15b2

Please sign in to comment.