benoitc / couchbeam

Apache CouchDB client in Erlang
Other
242 stars 113 forks source link

errors in couchbeam_view_stream:do_init_stream #148

Closed lazedo closed 7 years ago

lazedo commented 8 years ago

Hi, is there a reason to exit instead of returning error in do_init_stream ? https://github.com/benoitc/couchbeam/blob/master/src/couchbeam_view_stream.erl#L123-L125 i think that it should since we are initiating the streaming.

i can make a PR if you agree on this. thanks

benoitc commented 7 years ago

if it's still current, of course that would be a good pr :)