diff --git a/internal/sources/webhook/events.go b/internal/sources/webhook/events.go index 2bf35d7..b4d6fac 100644 --- a/internal/sources/webhook/events.go +++ b/internal/sources/webhook/events.go @@ -54,6 +54,10 @@ func (e *Events) getPipelineEvent(rawData []byte) (entities.PipelineEvent, error id := parsed.Get(event.FieldID).String() if id == "" { + e.logger.WithFields(logrus.Fields{ + "webhookEvent": webhookEvent, + "event": string(rawData), + }).Trace("unsupported webhook event") return nil, fmt.Errorf("%w: %s", ErrMissingFieldID, event.FieldID) }