Refactoring

This commit is contained in:
Raman Bohush 2019-05-13 16:06:29 +03:00
parent d2831f9bad
commit cb69c8f656

View file

@ -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");
} }
} }