couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bob Dionne <dio...@dionne-associates.com>
Subject replicator
Date Wed, 22 Feb 2012 03:30:06 GMT
Hi Filipe,

I'm seeing an issue in the replicator. This anonymous function [1] is throwing function_clause
errors as it doesn't handle codes 400-500 that might occur in [2,3]. I have a rough idea how
to fix it but I'm not sure whether I should handle it in replicator_httpc or up in the callback.
Does this ring a bell? Opinions?

Cheers,

Bob

[1] https://github.com/bdionne/couchdb/blob/master/src/couch_replicator/src/couch_replicator_api_wrap.erl#L335
[2] https://github.com/bdionne/couchdb/blob/master/src/couch_replicator/src/couch_replicator_httpc.erl#L90
[3] https://github.com/bdionne/couchdb/blob/master/src/couch_replicator/src/couch_replicator_httpc.erl#L111
Mime
View raw message