Changeset

13337:5e258164d214

util.async: Clip long line [luacheck]
author Kim Alvefur <zash@zash.se>
date Tue, 21 Nov 2023 22:18:17 +0100
parents 13336:f91761822420
children 13338:470ab6b55e93
files util/async.lua
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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