couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject couch-replicator commit: updated refs/heads/master to 63877ae
Date Wed, 12 Aug 2015 15:58:46 GMT
Repository: couchdb-couch-replicator
Updated Branches:
  refs/heads/master cfda5357a -> 63877ae33


Return `{error, {illegal_database_name, Name}}`


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/63877ae3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/63877ae3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/63877ae3

Branch: refs/heads/master
Commit: 63877ae33acbeae67f801180055d5c681aab48a7
Parents: cfda535
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Fri Jul 31 11:37:44 2015 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Fri Jul 31 11:37:44 2015 -0700

----------------------------------------------------------------------
 src/couch_replicator_api_wrap.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/63877ae3/src/couch_replicator_api_wrap.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator_api_wrap.erl b/src/couch_replicator_api_wrap.erl
index 96947de..207aa3b 100644
--- a/src/couch_replicator_api_wrap.erl
+++ b/src/couch_replicator_api_wrap.erl
@@ -124,7 +124,7 @@ db_open(DbName, Options, Create) ->
             couch_db:create(DbName, Options)
         end,
         case couch_db:open(DbName, Options) of
-        {error, illegal_database_name, _} ->
+        {error, {illegal_database_name, _}} ->
             throw({db_not_found, DbName});
         {not_found, _Reason} ->
             throw({db_not_found, DbName});


Mime
View raw message