couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fdman...@apache.org
Subject svn commit: r1163748 - /couchdb/trunk/src/couchdb/couch_replicator_utils.erl
Date Wed, 31 Aug 2011 19:10:26 GMT
Author: fdmanana
Date: Wed Aug 31 19:10:26 2011
New Revision: 1163748

URL: http://svn.apache.org/viewvc?rev=1163748&view=rev
Log:
Fix order of parameters in log message

Modified:
    couchdb/trunk/src/couchdb/couch_replicator_utils.erl

Modified: couchdb/trunk/src/couchdb/couch_replicator_utils.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_replicator_utils.erl?rev=1163748&r1=1163747&r2=1163748&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_replicator_utils.erl (original)
+++ couchdb/trunk/src/couchdb/couch_replicator_utils.erl Wed Aug 31 19:10:26 2011
@@ -118,8 +118,8 @@ filter_code(Filter, Source, UserCtx) ->
         DocError ->
             DocErrorMsg = io_lib:format(
                 "Couldn't open document `_design/~s` from source "
-                "database `~s`: ~s", [couch_api_wrap:db_uri(Source),
-                    DDocName, couch_util:to_binary(DocError)]),
+                "database `~s`: ~s", [DDocName, couch_api_wrap:db_uri(Source),
+                    couch_util:to_binary(DocError)]),
             throw({error, iolist_to_binary(DocErrorMsg)})
         end,
         Code = couch_util:get_nested_json_value(



Mime
View raw message