mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
Refactoring
This commit is contained in:
parent
d2831f9bad
commit
cb69c8f656
1 changed files with 1 additions and 3 deletions
|
@ -30,8 +30,6 @@ class CrashController {
|
|||
|
||||
@GetMapping("/oups")
|
||||
public String triggerException() {
|
||||
throw new RuntimeException("Expected: controller used to showcase what "
|
||||
+ "happens when an exception is thrown");
|
||||
throw new RuntimeException("Expected: controller used to showcase what happens when an exception is thrown");
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue