-
Notifications
You must be signed in to change notification settings - Fork 155
Open
Description
I discovered some mysterious behavior while using BlockDecoder. If the header is invalid (!tap.isVaid()), the stream does not raise an error event. Instead, it just returns.
This was confusing, because I was expecting an error event that I could process. I can work around this by listening for the "metadata" event and storing the parsed schema in a variable then testing to see if this variable is defined when the stream ends.
I'm not sure if this is intended behavior, but I would prefer if any invalid input would raise an error that can be handled rather than silently completing.
Metadata
Metadata
Assignees
Labels
No labels