stream-node-orm icon indicating copy to clipboard operation
stream-node-orm copied to clipboard

Errors unhandled in ORM

Open alexanderlperez opened this issue 7 years ago • 1 comments

Another dev I'm working with ended up hunting for half-an-hour looking for a reason why an activity wasn't triggering as expected, turns out there was a typo in the field.

However, definitely something avoidable if errors were accessible from the mongoose hooks. Right now they end up unhandled:

https://github.com/GetStream/stream-node-orm/blob/14ca95fd925d54682f797eb97604d43b5bcc1b9b/src/backends/mongoose.js#L104-L108

alexanderlperez avatar Feb 27 '18 02:02 alexanderlperez

Thanks for the report.

dwightgunning avatar Mar 28 '18 06:03 dwightgunning