diff --git a/libervia/backend/plugins/plugin_xep_0313.py b/libervia/backend/plugins/plugin_xep_0313.py index a0c7fc49..4ccdf834 100644 --- a/libervia/backend/plugins/plugin_xep_0313.py +++ b/libervia/backend/plugins/plugin_xep_0313.py @@ -179,8 +179,8 @@ class XEP_0313: except StanzaError as e: log.warning( f"Can't retrieve MAM archives: {e}\n" - f"{xml_tools.pp_elt(mam_req.toElement())}\n" - f"{xml_tools.pp_elt(e.iq.toElement()) if e.iq else ''}" + f"{xml_tools.p_fmt_elt(mam_req.toElement())}\n" + f"{xml_tools.p_fmt_elt(e.iq.toElement()) if e.iq else ''}" ) return except Exception as e: