<< Back to previous view

[QB-4008]  Add build ID and status in the failure exceptions when sending data to webhook
Created: 08/Aug/23  Updated: 09/Aug/23

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: 13.0.33

Type: Improvement Priority: Critical
Reporter: Pham Ngoc Anh Assigned To: Unassigned
Resolution: Fixed Votes: 0
Remaining Estimate: 30 minutes Time Spent: Unknown
Original Estimate: 30 minutes


 Description   
Currently, when unable/fail to send data to webhook. The below log is appear:
```
 ERROR com.pmease.quickbuild.plugin.webhook.WebHookBuildListener - Unable to post data to webhook xxx
ERROR com.pmease.quickbuild.plugin.webhook.WebHookBuildListener - Failed sending data to webhook xxx
```
We want information about build ID and build status to add to log to easy tracking which builds were can not sending data to webhook.

 Comments   
Comment by Pham Ngoc Anh [ 08/Aug/23 03:34 AM ]

Please change the log to become:
```
 ERROR com.pmease.quickbuild.plugin.webhook.WebHookBuildListener - Unable to post data of build id {} with status {} to webhook {} due to {}... xxx
ERROR com.pmease.quickbuild.plugin.webhook.WebHookBuildListener - Failed sending data of build id {} with status {} to webhook {} xxx
```
Comment by Pham Ngoc Anh [ 09/Aug/23 02:16 AM ]
Hello Steve Luo,
Can you share status of this improment
Comment by Steve Luo [ 09/Aug/23 12:48 PM ]
@Ngoc, the issue is resloved in QB 13.0.33.
Generated at Thu May 16 14:59:55 UTC 2024 using JIRA 189.