Do not crash in couch_replicator:terminate/2 if a local dbname is used.

Even though local source or target database names are not valid
for replication in CouchDB 2.0, do not crash when trying to
strip credentials. Replicator process has to terminate properly
in order to report the error in the replication document for
user feedback.

JIRA: COUCHDB-2949

This closes #28

Signed-off-by: Mike Wallace <mikewallace@apache.org>
1 file changed
tree: 7d9d7485f57b446b8e83dde3e61d3e355f652a19
  1. priv/
  2. src/
  3. test/
  4. .gitignore
  5. .travis.yml
  6. LICENSE