Commit c6ff9dcf authored by Xavier Guimard's avatar Xavier Guimard

Display error if a plugin sets it (#595)

parent eb1f94bc
Pipeline #3765 passed with stages
in 10 minutes and 50 seconds
......@@ -8,7 +8,7 @@
# of lemonldap-ng.ini) and underlying handler configuration
package Lemonldap::NG::Portal::Main::Init;
our $VERSION = '2.0.0';
our $VERSION = '2.0.1';
package Lemonldap::NG::Portal::Main;
......@@ -115,7 +115,10 @@ sub init {
# Handler::PSGI::Try initialization
return 0 unless ( $self->SUPER::init( $self->localConfig ) );
return 0 if ( $self->error );
if ( $self->error ) {
$self->logger->error( $self->error );
return 0;
}
# Handle requests (other path may be declared in enabled plugins)
$self
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment