Bugzilla – Attachment 159968 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.37 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-12-18 13:12:30 UTC
(
hide
)
Description:
Bug 35479: (QA follow-up): Tidy
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-12-18 13:12:30 UTC
Size:
1.37 KB
patch
obsolete
>From db606b39f6a9a862b49a69239b7de41fc34e2ca5 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> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > 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 64d3529002a..f30633ff074 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.43.0
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