|
@@ -32,7 +32,7 @@ public class ExamCloudController {
|
|
|
@Naked
|
|
|
@RequestMapping(value = {"/", ""}, method = RequestMethod.GET)
|
|
|
public String get(@RequestParam(required = false) Boolean bug) {
|
|
|
- if (bug) {
|
|
|
+ if (null != bug && bug) {
|
|
|
if (RandomUtils.nextBoolean()) {
|
|
|
throw new RuntimeException("Ha Ha Ha ... ...");
|
|
|
}
|