Merge pull request #1 from arx1strateg/build_trigger

Refactoring
This commit is contained in:
arx1strateg 2019-05-13 16:13:40 +03:00 committed by GitHub
commit 647b089d6c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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