laurentsenta / pl-github

0 stars 1 forks source link

Throw explicit error when an event is not parsed correctly #21

Open laurentsenta opened 2 years ago

laurentsenta commented 2 years ago

Right now the sdk rust seems to produce incorrect events:

{"event":{"success_event":{"groups":"single"}}}

(in pubsub.go)

when running with go:

{"success_event":{"group":"single"}}

That fails silently. We want to throw explicitly or raise a warning when the event is not parsed correctly.