Mercurial > prosody-hg
diff util/async.lua @ 13337:5e258164d214
util.async: Clip long line [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Tue, 21 Nov 2023 22:18:17 +0100 |
| parents | fa4143163e01 |
| children |
line wrap: on
line diff
--- a/util/async.lua Tue Nov 21 22:06:28 2023 +0100 +++ b/util/async.lua Tue Nov 21 22:18:17 2023 +0100 @@ -233,7 +233,8 @@ 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
