Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

Include webhook_type and webhook_name in the failed to send webhook warning log

天舟044021a61b7d
diff --git a/server/activity_manager.go b/server/activity_manager.go
index 0c1016b5f1..71ec5e149e 100644
--- a/server/activity_manager.go
+++ b/server/activity_manager.go
@@ -252,6 +252,8 @@ func (m *ActivityManager) CreateActivity(ctx context.Context, create *api.Activi
if err != nil {
// The external webhook endpoint might be invalid which is out of our code control, so we just emit a warning
m.s.l.Warn("Failed to post webhook event after changing the issue status",
+ zap.String("webhook_type", hook.Type),
+ zap.String("webhook_name", hook.Name),
zap.String("issue_name", meta.issue.Name),
zap.String("status", string(meta.issue.Status)),
zap.Error(err))