diff options
author | Kim Alvefur <zash@zash.se> | 2023-11-21 22:18:17 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2023-11-21 22:18:17 +0100 |
commit | 1e6027da6d9284a4a01149fc666fe6071fe82f4d (patch) | |
tree | 9d6b046e138ec5fb41734c7aad418633b232273c /util | |
parent | 07d2f9f2e8ccca52af4e297619e14c7524ef91a9 (diff) | |
download | prosody-1e6027da6d9284a4a01149fc666fe6071fe82f4d.tar.gz prosody-1e6027da6d9284a4a01149fc666fe6071fe82f4d.zip |
util.async: Clip long line [luacheck]
Diffstat (limited to 'util')
-rw-r--r-- | util/async.lua | 3 |
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 |