From 4655ffd19ccca0d6d363a4be4d67f36e60f32da8 Mon Sep 17 00:00:00 2001 From: Harshil Goel Date: Thu, 10 Apr 2025 21:26:25 +0530 Subject: [PATCH] fix(graphql): fix error handling in webhooks --- graphql/resolve/webhook.go | 1 + 1 file changed, 1 insertion(+) diff --git a/graphql/resolve/webhook.go b/graphql/resolve/webhook.go index fc4c6e25afe..5ecd68de792 100644 --- a/graphql/resolve/webhook.go +++ b/graphql/resolve/webhook.go @@ -112,6 +112,7 @@ func sendWebhookEvent(ctx context.Context, m schema.Mutation, commitTs uint64, r // just log the response errors, if any. if err != nil { glog.V(3).Info(errors.Wrap(err, "unable to send webhook event")) + return } defer func() {