From 1e6027da6d9284a4a01149fc666fe6071fe82f4d Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 21 Nov 2023 22:18:17 +0100 Subject: util.async: Clip long line [luacheck] --- util/async.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'util') 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 -- cgit v1.2.3