Bugzilla – Attachment 134410 Details for
Bug 27344
Implement Elastic's update_index_background using Koha::BackgroundJob
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27344: Warn the error in the log
Bug-27344-Warn-the-error-in-the-log.patch (text/plain), 813 bytes, created by
Tomás Cohen Arazi (tcohen)
on 2022-04-29 17:23:50 UTC
(
hide
)
Description:
Bug 27344: Warn the error in the log
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2022-04-29 17:23:50 UTC
Size:
813 bytes
patch
obsolete
>From 8d5b7871f4c45d9d84d64918d7e4aff01319d4fd Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 5 Apr 2022 14:52:17 +0200 >Subject: [PATCH] Bug 27344: Warn the error in the log > >Otherwise info about the failure is hidden in DB >--- > Koha/BackgroundJob/UpdateElasticIndex.pm | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/Koha/BackgroundJob/UpdateElasticIndex.pm b/Koha/BackgroundJob/UpdateElasticIndex.pm >index cafaf12fc8..3387b0cfc7 100644 >--- a/Koha/BackgroundJob/UpdateElasticIndex.pm >+++ b/Koha/BackgroundJob/UpdateElasticIndex.pm >@@ -81,6 +81,7 @@ sub process { > $indexer->update_index(\@record_ids); > }; > if ( $@ ) { >+ warn $@; > push @messages, { > type => 'error', > code => 'index_error', >-- >2.34.1
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 27344
:
114877
|
116252
|
116931
|
132444
|
132445
|
132446
|
132586
|
132609
|
132610
|
132611
|
132612
|
132613
|
132645
|
132646
|
132794
|
132795
|
132796
|
132797
|
132798
|
132843
|
132844
|
132845
|
132969
|
132970
|
132994
|
132995
|
133033
|
134406
|
134407
|
134408
|
134409
| 134410 |
134411
|
134412
|
134413