Bug 35479: (QA follow-up): Tidy
Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit d7a633048e
)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
c998c57631
commit
f8c4579dbb
1 changed files with 3 additions and 3 deletions
|
@ -24,12 +24,12 @@ if ( C4::Context->config("enable_plugins") ) {
|
||||||
foreach my $plugin (@plugins) {
|
foreach my $plugin (@plugins) {
|
||||||
my $plugin_name = ref $plugin;
|
my $plugin_name = ref $plugin;
|
||||||
try {
|
try {
|
||||||
cronlogaction({ info => "$plugin_name" });
|
cronlogaction( { info => "$plugin_name" } );
|
||||||
$plugin->cronjob_nightly();
|
$plugin->cronjob_nightly();
|
||||||
cronlogaction({ action => "End", info => "$plugin_name COMPLETED" });
|
cronlogaction( { action => "End", info => "$plugin_name COMPLETED" } );
|
||||||
}
|
}
|
||||||
catch {
|
catch {
|
||||||
cronlogaction({ action => "Error", info => "$plugin_name FAILED with error: $_" });
|
cronlogaction( { action => "Error", info => "$plugin_name FAILED with error: $_" } );
|
||||||
warn "$_";
|
warn "$_";
|
||||||
$logger->warn("$_");
|
$logger->warn("$_");
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue