Skip to content

Commit cf2c5b6

Browse files
committed
Change logging, add favicon
1 parent e50cc28 commit cf2c5b6

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/main/java/com/getourguide/interview/error/ErrorHandler.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ public class ErrorHandler {
1111

1212
@ExceptionHandler
1313
public ResponseEntity<String> handleException(Exception e) {
14-
log.error(e.getMessage());
14+
log.error("An error occurred", e);
1515
return ResponseEntity.status(500).body("Something went wrong");
1616
}
1717
}
408 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)