From d90a094949fccddad9c26ba29d13b47410d3fee7 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Tue, 31 Jan 2023 07:48:21 +0100 Subject: core.moduleapi: Fix passing variable to logging --- core/moduleapi.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core') diff --git a/core/moduleapi.lua b/core/moduleapi.lua index fd54500d..5f9ee3c7 100644 --- a/core/moduleapi.lua +++ b/core/moduleapi.lua @@ -580,7 +580,7 @@ local status_priorities = { error = 3, warn = 2, info = 1, core = 0 }; function api:set_status(status_type, status_message, override) local priority = status_priorities[status_type]; if not priority then - self:log("error", "set_status: Invalid status type '%s', assuming 'info'"); + self:log("error", "set_status: Invalid status type '%s', assuming 'info'", status_type); status_type, priority = "info", status_priorities.info; end local current_priority = status_priorities[self.status_type] or 0; -- cgit v1.2.3