[Bps-public-commit] rt-extension-notifyslack branch, master, updated. 6fdd1ba7a9608a7c931e0977dea25f8a85087d55

? sunnavy sunnavy at bestpractical.com
Thu Sep 3 13:59:58 EDT 2020


The branch, master has been updated
       via  6fdd1ba7a9608a7c931e0977dea25f8a85087d55 (commit)
       via  2f4aec7b586c8a2d0f4c58f032f5a3383777d476 (commit)
      from  d4cc8ded58d6f21bcef29397d2e2055199657774 (commit)

Summary of changes:
 Makefile.PL                  | 2 +-
 lib/RT/Action/NotifySlack.pm | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit 2f4aec7b586c8a2d0f4c58f032f5a3383777d476
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Sep 4 01:57:43 2020 +0800

    Log error content to help debug

diff --git a/lib/RT/Action/NotifySlack.pm b/lib/RT/Action/NotifySlack.pm
index e04a745..71bc681 100644
--- a/lib/RT/Action/NotifySlack.pm
+++ b/lib/RT/Action/NotifySlack.pm
@@ -47,7 +47,7 @@ sub Commit {
 
     my $resp = $ua->request($req);
 
-    RT::Logger->error("Failed post to slack, status is:" . $resp->status_line) unless $resp->is_success;
+    RT::Logger->error( "Failed post to slack, status is:" . $resp->status_line . $resp->decoded_content() ) unless $resp->is_success;
 
     return 1;
 }

commit 6fdd1ba7a9608a7c931e0977dea25f8a85087d55
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri Sep 4 01:59:24 2020 +0800

    Update rt_too_new as it works on RT 5.0

diff --git a/Makefile.PL b/Makefile.PL
index 4b4e32e..b47bc01 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -5,7 +5,7 @@ license 'gpl_2';
 repository 'https://github.com/bestpractical/rt-extension-notifyslack';
 
 requires_rt '4.4.0';
-rt_too_new '4.6.0';
+rt_too_new '5.2.0';
 
 sign;
 WriteAll;

-----------------------------------------------------------------------


More information about the Bps-public-commit mailing list