From 22ddda55a0413a8d77a3c6278a1d347e66404d07 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Wed, 12 Apr 2023 13:17:11 +0000 Subject: [PATCH] Bug 33360: (follow-up) Adjust wording in verbose mode Koha reports 'sending mail' while we actually are still processing mail. It could still be delayed, fail, etc. Test plan: Run process_message_queue in verbose mode. If a message get processed, you should see: Processing email message to patron: 51 at /usr/share/koha/C4/Letters.pm line 1008. Signed-off-by: Marcel de Rooy Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall Signed-off-by: Tomas Cohen Arazi --- C4/Letters.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Letters.pm b/C4/Letters.pm index 9ee8e6df08..7100c4ea71 100644 --- a/C4/Letters.pm +++ b/C4/Letters.pm @@ -1002,7 +1002,7 @@ sub SendQueuedMessages { return unless $message_object->store; # warn Data::Dumper->Dump( [ $message ], [ 'message' ] ); - warn sprintf( 'sending %s message to patron: %s', + warn sprintf( 'Processing %s message to patron: %s', $message->{'message_transport_type'}, $message->{'borrowernumber'} || 'Admin' ) if $params->{'verbose'}; -- 2.39.5