You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by va...@apache.org on 2017/04/09 05:00:44 UTC
[couchdb] branch 63012-scheduler updated: [fixup] fix odd catch
indent in _docs
This is an automated email from the ASF dual-hosted git repository.
vatamane pushed a commit to branch 63012-scheduler
in repository https://gitbox.apache.org/repos/asf/couchdb.git
The following commit(s) were added to refs/heads/63012-scheduler by this push:
new 363b079 [fixup] fix odd catch indent in _docs
363b079 is described below
commit 363b079a30793bba4400c31521f9ad426c23a48d
Author: Nick Vatamaniuc <va...@apache.org>
AuthorDate: Sun Apr 9 01:00:36 2017 -0400
[fixup] fix odd catch indent in _docs
---
src/couch_replicator/src/couch_replicator_docs.erl | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/couch_replicator/src/couch_replicator_docs.erl b/src/couch_replicator/src/couch_replicator_docs.erl
index 03aebc8..1bf26c5 100644
--- a/src/couch_replicator/src/couch_replicator_docs.erl
+++ b/src/couch_replicator/src/couch_replicator_docs.erl
@@ -213,12 +213,12 @@ parse_rep_doc(RepDoc) ->
{ok, Rep} = try
parse_rep_doc(RepDoc, rep_user_ctx(RepDoc))
catch
- throw:{error, Reason} ->
- throw({bad_rep_doc, Reason});
- throw:{filter_fetch_error, Reason} ->
- throw({filter_fetch_error, Reason});
- Tag:Err ->
- throw({bad_rep_doc, to_binary({Tag, Err})})
+ throw:{error, Reason} ->
+ throw({bad_rep_doc, Reason});
+ throw:{filter_fetch_error, Reason} ->
+ throw({filter_fetch_error, Reason});
+ Tag:Err ->
+ throw({bad_rep_doc, to_binary({Tag, Err})})
end,
Rep.
@@ -228,10 +228,10 @@ parse_rep_doc_without_id(RepDoc) ->
{ok, Rep} = try
parse_rep_doc_without_id(RepDoc, rep_user_ctx(RepDoc))
catch
- throw:{error, Reason} ->
- throw({bad_rep_doc, Reason});
- Tag:Err ->
- throw({bad_rep_doc, to_binary({Tag, Err})})
+ throw:{error, Reason} ->
+ throw({bad_rep_doc, Reason});
+ Tag:Err ->
+ throw({bad_rep_doc, to_binary({Tag, Err})})
end,
Rep.
--
To stop receiving notification emails like this one, please contact
['"commits@couchdb.apache.org" <co...@couchdb.apache.org>'].