Bugzilla – Attachment 159960 Details for
Bug 35479
Nightly cronjob for plugins should log the plugins that are being run
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35479: (QA follow-up): Tidy
Bug-35479-QA-follow-up-Tidy.patch (text/plain), 1.32 KB, created by
Pedro Amorim
on 2023-12-18 12:52:29 UTC
(
hide
)
Description:
Bug 35479: (QA follow-up): Tidy
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2023-12-18 12:52:29 UTC
Size:
1.32 KB
patch
obsolete
>From 7d6f0f1e60644db6c6d661eccbe0d3a533b50ec8 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@ptfs-europe.com> >Date: Mon, 18 Dec 2023 12:51:16 +0000 >Subject: [PATCH] Bug 35479: (QA follow-up): Tidy > >Signed-off-by: Pedro Amorim <pedro.amorim@ptfs-europe.com> >--- > misc/cronjobs/plugins_nightly.pl | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/misc/cronjobs/plugins_nightly.pl b/misc/cronjobs/plugins_nightly.pl >index 64d3529002..f30633ff07 100755 >--- a/misc/cronjobs/plugins_nightly.pl >+++ b/misc/cronjobs/plugins_nightly.pl >@@ -24,12 +24,12 @@ if ( C4::Context->config("enable_plugins") ) { > foreach my $plugin (@plugins) { > my $plugin_name = ref $plugin; > try { >- cronlogaction({ info => "$plugin_name" }); >+ cronlogaction( { info => "$plugin_name" } ); > $plugin->cronjob_nightly(); >- cronlogaction({ action => "End", info => "$plugin_name COMPLETED" }); >+ cronlogaction( { action => "End", info => "$plugin_name COMPLETED" } ); > } > catch { >- cronlogaction({ action => "Error", info => "$plugin_name FAILED with error: $_" }); >+ cronlogaction( { action => "Error", info => "$plugin_name FAILED with error: $_" } ); > warn "$_"; > $logger->warn("$_"); > }; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 35479
:
159560
|
159581
|
159958
|
159959
|
159960
|
159966
|
159967
|
159968