bencebalogh / avro-schema-registry

Confluent Schema Registry implementation in javascript to easily serialize and deserialize kafka messages
MIT License
28 stars 30 forks source link

Missing errors on schema parsing #23

Closed katsanva closed 5 years ago

katsanva commented 5 years ago

https://github.com/bencebalogh/avro-schema-registry/blob/7f1ab676ed46ead62a62cb9083dafb2ff6c43f95/lib/fetch-schema.js#L28 End request handler is not handling errors in case avsc fails to parse the schema for some reason.

Need to be covered with try-cathc block.