aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-20 22:33:24 +0100
committerKim Alvefur <zash@zash.se>2019-12-20 22:33:24 +0100
commit996e2640d0989ea962d2c0b2cad8898375cf9eed (patch)
tree440b7de95ce923beb0c48f0bbbca5f1e2c70e3c0 /core
parentda8be04d4f0ce33d17a40e9f65cce0ef45dbe086 (diff)
downloadprosody-996e2640d0989ea962d2c0b2cad8898375cf9eed.tar.gz
prosody-996e2640d0989ea962d2c0b2cad8898375cf9eed.zip
core.stanza_router: Silence warning about unused err_message [luacheck]
Diffstat (limited to 'core')
-rw-r--r--core/stanza_router.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/stanza_router.lua b/core/stanza_router.lua
index dab83803..1d8db3e7 100644
--- a/core/stanza_router.lua
+++ b/core/stanza_router.lua
@@ -28,7 +28,7 @@ local function handle_unhandled_stanza(host, origin, stanza) --luacheck: ignore
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