Spaces:
Sleeping
Sleeping
src/main/java/com/darkfantasy/exception/GlobalExceptionHandler.java
CHANGED
|
@@ -31,11 +31,8 @@ public class GlobalExceptionHandler {
|
|
| 31 |
|
| 32 |
@ExceptionHandler(Exception.class)
|
| 33 |
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
|
| 34 |
-
public String internalServerError(
|
| 35 |
-
|
| 36 |
-
ex.printStackTrace();
|
| 37 |
-
|
| 38 |
return "error/500";
|
| 39 |
}
|
| 40 |
|
| 41 |
-
}
|
|
|
|
| 31 |
|
| 32 |
@ExceptionHandler(Exception.class)
|
| 33 |
@ResponseStatus(HttpStatus.INTERNAL_SERVER_ERROR)
|
| 34 |
+
public String internalServerError() {
|
|
|
|
|
|
|
|
|
|
| 35 |
return "error/500";
|
| 36 |
}
|
| 37 |
|
| 38 |
+
}
|