Skip to content

Commit

Permalink
Merge pull request #23455 from Farley-Chen/main
Browse files Browse the repository at this point in the history
add String.valueof() for correct log message
  • Loading branch information
DanielFran authored Sep 10, 2023
2 parents f949415 + 90085d6 commit 663d96b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public class LoggingAspect {
.error(
"Exception in {}() with cause = {}",
joinPoint.getSignature().getName(),
e.getCause() != null ? e.getCause() : "NULL"
e.getCause() != null ? String.valueOf(e.getCause()) : "NULL"
);
}
}
Expand Down

0 comments on commit 663d96b

Please sign in to comment.