aboutsummaryrefslogtreecommitdiff
path: root/src/mod_vcard.erl
diff options
context:
space:
mode:
authorEvgeny Khramtsov <ekhramtsov@process-one.net>2019-09-23 15:17:20 +0300
committerEvgeny Khramtsov <ekhramtsov@process-one.net>2019-09-23 15:17:20 +0300
commit5770946f03ba669ea867b787fbd546333a8a3814 (patch)
tree73a03717ac5d4c31e12b92c1aba3b407f3c5329c /src/mod_vcard.erl
parentFix unicode formatting in ACME module (diff)
Correctly handle unicode in log messages
Diffstat (limited to '')
-rw-r--r--src/mod_vcard.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_vcard.erl b/src/mod_vcard.erl
index 1ef246ecb..9adf8f71a 100644
--- a/src/mod_vcard.erl
+++ b/src/mod_vcard.erl
@@ -121,7 +121,7 @@ init([Host|_]) ->
case Mod:is_search_supported(Host) of
false ->
?WARNING_MSG("vCard search functionality is "
- "not implemented for ~s backend",
+ "not implemented for ~ts backend",
[mod_vcard_opt:db_type(Opts)]);
true ->
ejabberd_router:register_route(
@@ -145,7 +145,7 @@ handle_info({route, Packet}, State) ->
try route(Packet)
catch ?EX_RULE(Class, Reason, St) ->
StackTrace = ?EX_STACK(St),
- ?ERROR_MSG("Failed to route packet:~n~s~n** ~s",
+ ?ERROR_MSG("Failed to route packet:~n~ts~n** ~ts",
[xmpp:pp(Packet),
misc:format_exception(2, Class, Reason, StackTrace)])
end,