Skip to content

Commit

Permalink
Use built-in exception logger in logIncomingRequestHandlingError
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Zolotko authored and azolotko committed Jan 21, 2020
1 parent 26b1212 commit dfb3f7d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ trait BaseOcppConnectionComponent[

protected def logIncomingRequestHandlingError(call: SrpcCall): PartialFunction[Throwable, Throwable] = {
case e: Throwable =>
logger.warn("Exception processing OCPP request {}: {} {}",
call.procedureName, e.getClass.getSimpleName, e.getMessage)
logger.warn(s"Exception processing OCPP request ${call.procedureName}:", e)
e
}
}
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "9.2.2"
version in ThisBuild := "9.2.3-SNAPSHOT"

0 comments on commit dfb3f7d

Please sign in to comment.