From 637be9453b78544c3de92bc42046565702c4d29e Mon Sep 17 00:00:00 2001 From: Dominik Meyer Date: Wed, 6 Mar 2024 08:49:52 +0100 Subject: [PATCH] ADD: more logging --- lib/Webhook2Ntfy/Controller/Webhook.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/Webhook2Ntfy/Controller/Webhook.pm b/lib/Webhook2Ntfy/Controller/Webhook.pm index ac32b78..b0a213e 100644 --- a/lib/Webhook2Ntfy/Controller/Webhook.pm +++ b/lib/Webhook2Ntfy/Controller/Webhook.pm @@ -44,10 +44,11 @@ sub prepareAuthToken sub redmine2ntfy { - my $self = shift; my $data = shift; + $self->log->info("Preparing message from redmine"); + $data->{text} =~ /^<(.*)\|(.+)>\+\-\+(.+)\+<(.*)\|(.*)>\+.*\+by\+(.*)$/; my $projectUrl=$1;