Commit 1a2a1090 authored by Xavier Guimard's avatar Xavier Guimard

More debug info (#1449)

parent 07699674
......@@ -325,7 +325,10 @@ sub findEP {
if ( $obj->can($sub) ) {
$self->logger->debug(" Found $sub entry point:");
if ( my $callback = $obj->$sub ) {
push @{ $self->{$sub} }, sub { $obj->$callback( $_[0] ) };
push @{ $self->{$sub} }, sub {
eval { $obj->logger->debug("Launching ${plugin}::$callback") };
$obj->$callback( $_[0] );
};
$self->logger->debug(" -> $callback");
}
}
......
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