jenkinsci / slack-plugin

A Jenkins plugin for posting notifications to a Slack channel
https://plugins.jenkins.io/slack/
672 stars 413 forks source link

Bug: Add log incase got error response from slack's API #955

Closed Avi-Gupta1 closed 2 months ago

Avi-Gupta1 commented 3 months ago

There are some cases while calling the slack's APIs, It will give us Status Code as "200 " while slack is failing to perform some the task.

one of such cases: https://stackoverflow.com/questions/73145117/error-codes-on-slack-is-this-normal-for-an-api

Testing pending. Would require some help to perform testing. Although change is very minor and logical. It won't impact any existing functionality.

Raised it to address this issue: https://github.com/jenkinsci/slack-plugin/issues/947