Skip to content

Commit 5521dca

Browse files
committed
DEV-49010-add-request-body-for-grafana-custom-notification-log
1 parent e34cd87 commit 5521dca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/services/notifications/webhook.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ func (ns *NotificationService) sendWebRequestSync(ctx context.Context, webhook *
5252
webhook.HttpMethod = http.MethodPost
5353
}
5454

55-
ns.log.Debug("Sending webhook", "url", webhook.Url, "http method", webhook.HttpMethod)
55+
ns.log.Debug("Sending webhook", "url", webhook.Url, "http method", webhook.HttpMethod, "body", webhook.Body)
5656

5757
if webhook.HttpMethod != http.MethodPost && webhook.HttpMethod != http.MethodPut {
5858
return fmt.Errorf("webhook only supports HTTP methods PUT or POST")

0 commit comments

Comments
 (0)