Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-06-24 20:32:34 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-06-24 20:32:34 +0300
commita3e0cbbdd8a3ec4bbfa17e5147c59978021fc0b5 (patch)
tree6a00378671ffaee338317c403b46b6a5ecad5ce1 /src/mod_http_api.erl
parent370226417ad9524dae101595fd955f69df75ec3c (diff)
Make logging messages more consistent
Diffstat (limited to 'src/mod_http_api.erl')
-rw-r--r--src/mod_http_api.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_http_api.erl b/src/mod_http_api.erl
index 28228f3e5..4dd48158a 100644
--- a/src/mod_http_api.erl
+++ b/src/mod_http_api.erl
@@ -400,7 +400,7 @@ format_arg({Elements},
_ when TElDef == binary; TElDef == string ->
<<"">>;
_ ->
- ?ERROR_MSG("missing field ~p in tuple ~p", [TElName, Elements]),
+ ?ERROR_MSG("Missing field ~p in tuple ~p", [TElName, Elements]),
throw({invalid_parameter,
io_lib:format("Missing field ~w in tuple ~w", [TElName, Elements])})
end
@@ -418,7 +418,7 @@ format_arg(Arg, string) when is_binary(Arg) -> binary_to_list(Arg);
format_arg(undefined, binary) -> <<>>;
format_arg(undefined, string) -> "";
format_arg(Arg, Format) ->
- ?ERROR_MSG("don't know how to format Arg ~p for format ~p", [Arg, Format]),
+ ?ERROR_MSG("Don't know how to format Arg ~p for format ~p", [Arg, Format]),
throw({invalid_parameter,
io_lib:format("Arg ~w is not in format ~w",
[Arg, Format])}).