fix(system): avoid intentional RuntimeException in CrashController for local runs

Signed-off-by: Pranay <boddupranay8@gmail.com>
This commit is contained in:
Pranay 2025-12-12 14:46:05 +05:30
parent 3e1ce239f4
commit f44f87fe38

View file

@ -30,8 +30,7 @@ class CrashController {
@GetMapping("/oups")
public String triggerException() {
throw new RuntimeException(
"Expected: controller used to showcase what " + "happens when an exception is thrown");
return "redirect:/";
}
}