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