aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-11-21 22:18:17 +0100
committerKim Alvefur <zash@zash.se>2023-11-21 22:18:17 +0100
commit1e6027da6d9284a4a01149fc666fe6071fe82f4d (patch)
tree9d6b046e138ec5fb41734c7aad418633b232273c
parent07d2f9f2e8ccca52af4e297619e14c7524ef91a9 (diff)
downloadprosody-1e6027da6d9284a4a01149fc666fe6071fe82f4d.tar.gz
prosody-1e6027da6d9284a4a01149fc666fe6071fe82f4d.zip
util.async: Clip long line [luacheck]
-rw-r--r--util/async.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/async.lua b/util/async.lua
index b8d3bc69..9a3485e9 100644
--- a/util/async.lua
+++ b/util/async.lua
@@ -233,7 +233,8 @@ function runner_mt:run(input)
end
if err or state ~= self.notified_state then
- self:log("debug", "changed state from %s to %s [%s %s]", self.notified_state, err and ("error ("..state..")") or state, self.thread, self.thread and coroutine.status(self.thread));
+ self:log("debug", "changed state from %s to %s [%s %s]", self.notified_state, err and ("error (" .. state .. ")") or state, self.thread,
+ self.thread and coroutine.status(self.thread));
if err then
state = "error"
else