Compare commits

...

1 Commits

Author SHA1 Message Date
f844be04b0 make_unimplemented_handler 2026-04-20 12:13:51 -04:00

View File

@@ -234,12 +234,12 @@ local make_unimplemented_handler = function (self, event)
local function handler(self, event) local function handler(self, event)
self:_log("unhandled '%s' event: %s", event.type, json.encode(event)) self:_log("unhandled '%s' event: %s", event.type, json.encode(event))
end end
local make_unimplemented_handler = function (self, event) local function make_unimplemented_handler(self, event)
return handler return handler
end end
else else
local function handler(self, event) end local function handler(self, event) end
local make_unimplemented_handler = function (self, event) local function make_unimplemented_handler(self, event)
self:_log("no handler for '%s' events (this warning is shown only once)", event.type) self:_log("no handler for '%s' events (this warning is shown only once)", event.type)
return handler return handler
end end