mirror of https://github.com/MISP/MISP
better error outputting
parent
39fb9bca1d
commit
f455405475
|
@ -202,6 +202,7 @@ class EventsController extends AppController {
|
|||
}
|
||||
return true;
|
||||
} else {
|
||||
throw new MethodNotAllowedException("Validation ERROR: \n".var_export($this->Event->validationErrors, true));
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue