@ -60,6 +60,7 @@ sub sendError {
my ( $self, $req, $err, $code ) = splice @_;
$err ||= $req->error;
$code ||= 500;
$self->lmLog( "Error $code: $err", $code > 499 ? 'error' : 'notice' );
return $self->sendJSONresponse( $req, { error => $err }, code => $code );
}
@ -7,7 +7,6 @@
## Bugs
* No log in case of bad request
* After an Apache restart, if Manager is loaded first, portal cannot be loaded
* Authentication parameters:
* No input is displayed when Multi is choosen in authentication modules