Software /
code /
prosody
Changeset
10529:854586ac7c96
core.stanza_router: Silence warning about unused err_message [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 20 Dec 2019 22:33:24 +0100 |
parents | 10528:48300484a124 |
children | 10530:67d56dacc79c |
files | core/stanza_router.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/core/stanza_router.lua Fri Dec 20 22:31:27 2019 +0100 +++ b/core/stanza_router.lua Fri Dec 20 22:33:24 2019 +0100 @@ -28,7 +28,7 @@ local st_type = stanza.attr.type; if st_type == "error" or (name == "iq" and st_type == "result") then if st_type == "error" then - local err_type, err_condition, err_message = stanza:get_error(); + local err_type, err_condition, err_message = stanza:get_error(); -- luacheck: ignore 211/err_message log("debug", "Discarding unhandled error %s (%s, %s) from %s: %s", name, err_type, err_condition or "unknown condition", origin_type, stanza:top_tag()); else