You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2009/04/18 18:34:33 UTC
svn commit: r766353 - in /couchdb/trunk: THANKS
src/couchdb/couch_external_manager.erl
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 <er...@canonical.com>
* Maarten Thibaut <mt...@cisco.com>
* Florian Ebeling <fl...@gmail.com>
+ * Volker Mische <vo...@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}),