From f5298dec9cb5ed763b73e47d4484bc2023a59a55 Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Wed, 15 Apr 2009 23:21:07 +0000 Subject: change error message from list to binary string git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@765420 13f79535-47bb-0310-9956-ffa450edef68 --- src/couchdb/couch_config.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/couchdb') diff --git a/src/couchdb/couch_config.erl b/src/couchdb/couch_config.erl index 50768ac8..d5b93201 100644 --- a/src/couchdb/couch_config.erl +++ b/src/couchdb/couch_config.erl @@ -118,11 +118,11 @@ load_ini_file(IniFile) -> IniBin = case file:read_file(IniFilename) of {ok, IniBin0} -> - IniBin0; + IniBin0; {error, enoent} -> - Msg = io_lib:format("Couldn't find server configuration file ~s.", [IniFilename]), - ?LOG_ERROR("~s~n", [Msg]), - throw({startup_error, Msg}) + Msg = ?l2b(io_lib:format("Couldn't find server configuration file ~s.", [IniFilename])), + ?LOG_ERROR("~s~n", [Msg]), + throw({startup_error, Msg}) end, {ok, Lines} = regexp:split(binary_to_list(IniBin), "\r\n|\n|\r|\032"), -- cgit v1.2.3