Bugzilla – Attachment 166992 Details for
Bug 36901
Add logging for uncaught exceptions in background job classes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36901: Simulate failure for testing purposes
Bug-36901-Simulate-failure-for-testing-purposes.patch (text/plain), 834 bytes, created by
David Nind
on 2024-05-21 22:20:41 UTC
(
hide
)
Description:
Bug 36901: Simulate failure for testing purposes
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-21 22:20:41 UTC
Size:
834 bytes
patch
obsolete
>From 9287d06ceb32e633971ed022f06da9d01c258797 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Tue, 21 May 2024 10:10:26 -0300 >Subject: [PATCH] Bug 36901: Simulate failure for testing purposes > >Signed-off-by: David Nind <david@davidnind.com> >--- > Koha/BackgroundJob/BatchDeleteItem.pm | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/Koha/BackgroundJob/BatchDeleteItem.pm b/Koha/BackgroundJob/BatchDeleteItem.pm >index 474450e57b..cab76cb038 100644 >--- a/Koha/BackgroundJob/BatchDeleteItem.pm >+++ b/Koha/BackgroundJob/BatchDeleteItem.pm >@@ -198,7 +198,7 @@ sub process { > my $data = $self->decoded_data; > $data->{messages} = \@messages; > $data->{report} = $report; >- >+ die "Oh no! Died right before storing this success story!"; > $self->finish( $data ); > } > >-- >2.39.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 36901
:
166969
|
166970
|
166992
|
166993
|
168245