couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@apache.org
Subject svn commit: r766353 - in /couchdb/trunk: THANKS src/couchdb/couch_external_manager.erl
Date Sat, 18 Apr 2009 16:34:33 GMT
Author: davisp
Date: Sat Apr 18 16:34:33 2009
New Revision: 766353

URL: http://svn.apache.org/viewvc?rev=766353&view=rev
Log:
Fixes COUCHDB-311

Returns an _external error as a binary.


Modified:
    couchdb/trunk/THANKS
    couchdb/trunk/src/couchdb/couch_external_manager.erl

Modified: couchdb/trunk/THANKS
URL: http://svn.apache.org/viewvc/couchdb/trunk/THANKS?rev=766353&r1=766352&r2=766353&view=diff
==============================================================================
--- couchdb/trunk/THANKS (original)
+++ couchdb/trunk/THANKS Sat Apr 18 16:34:33 2009
@@ -25,5 +25,6 @@
  * Eric Casteleijn <eric.casteleijn@canonical.com>
  * Maarten Thibaut <mthibaut@cisco.com>
  * Florian Ebeling <florian.ebeling@gmail.com>
+ * Volker Mische <volker.mische@gmail.com>
 
 For a list of authors see the `AUTHORS` file.

Modified: couchdb/trunk/src/couchdb/couch_external_manager.erl
URL: http://svn.apache.org/viewvc/couchdb/trunk/src/couchdb/couch_external_manager.erl?rev=766353&r1=766352&r2=766353&view=diff
==============================================================================
--- couchdb/trunk/src/couchdb/couch_external_manager.erl (original)
+++ couchdb/trunk/src/couchdb/couch_external_manager.erl Sat Apr 18 16:34:33 2009
@@ -53,9 +53,9 @@
     [] ->
         case couch_config:get("external", UrlName, nil) of
         nil ->
-            Mesg = lists:flatten(
+            Msg = lists:flatten(
                 io_lib:format("No server configured for ~p.", [UrlName])),
-            {reply, {error, {unknown_external_server, Mesg}}, Handlers};
+            {reply, {error, {unknown_external_server, ?l2b(Msg)}}, Handlers};
         Command ->
             {ok, NewPid} = couch_external_server:start_link(UrlName, Command),
             true = ets:insert(Handlers, {UrlName, NewPid}),



Mime
View raw message