diff options
-rw-r--r-- | THANKS | 1 | ||||
-rw-r--r-- | src/couchdb/couch_external_manager.erl | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -25,5 +25,6 @@ suggesting improvements or submitting changes. Some of these people are: * 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. diff --git a/src/couchdb/couch_external_manager.erl b/src/couchdb/couch_external_manager.erl index 230a9b27..034e0c50 100644 --- a/src/couchdb/couch_external_manager.erl +++ b/src/couchdb/couch_external_manager.erl @@ -53,9 +53,9 @@ handle_call({get, UrlName}, _From, Handlers) -> [] -> 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}), |