diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-11-14 09:02:43 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-11-14 09:02:43 +0300 |
commit | f953621ed2dcef77941ab17c72bb86a0371d671b (patch) | |
tree | 22fb82132dc4593d3cdf34b12da811dbd1f400ff /src/gen_iq_handler.erl | |
parent | Implement parentnodes seek for hometree (#1921) (diff) |
Use xmpp:io_format_error/1 wherever possible
Diffstat (limited to '')
-rw-r--r-- | src/gen_iq_handler.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gen_iq_handler.erl b/src/gen_iq_handler.erl index b815a1c1..d34db358 100644 --- a/src/gen_iq_handler.erl +++ b/src/gen_iq_handler.erl @@ -164,7 +164,7 @@ process_iq(Module, Function, #iq{lang = Lang, sub_els = [El]} = IQ) -> end, Module:Function(IQ#iq{sub_els = [Pkt]}) catch error:{xmpp_codec, Why} -> - Txt = xmpp:format_error(Why), + Txt = xmpp:io_format_error(Why), xmpp:make_error(IQ, xmpp:err_bad_request(Txt, Lang)) end. |