Skip to content

Commit

Permalink
debug with APIEvent.Data
Browse files Browse the repository at this point in the history
  • Loading branch information
eumel8 committed Jan 24, 2024
1 parent 13ecc12 commit 14929eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/subscribe/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,6 @@ func writeData(apiOp *types.APIRequest, getter SchemasGetter, c *websocket.Conn,
}
defer messageWriter.Close()

logrus.Debugf("Sending event %v with Type %v and ID %v", event.Name, event.ResourceType, event.ID)
logrus.Debugf("Sending event %v with ResourceType %v and Data: %v", event.Name, event.ResourceType, event.Data)
return json.NewEncoder(messageWriter).Encode(event)
}

0 comments on commit 14929eb

Please sign in to comment.