mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
util.async: Clip long line [luacheck]
This commit is contained in:
parent
07d2f9f2e8
commit
1e6027da6d
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue