Commit 6b41c1d3 authored by Xavier Guimard's avatar Xavier Guimard

abort should work even if init fails (#1525)

parent 300b68cb
......@@ -190,7 +190,7 @@ body{background:#000;color:#fff;padding:10px 50px;font-family:sans-serif;}a{text
sub abort {
my ( $self, $err ) = @_;
$self->logger->error($err);
eval { $self->logger->error($err) };
return sub {
$self->sendError( Lemonldap::NG::Common::PSGI::Request->new( $_[0] ),
$err, 500 );
......
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