From 01488e29d48f0f216bcda6dbcc1ca93cdb7eb4ea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dr=2E=20Julian-Steffen=20M=C3=BCller?= Date: Tue, 24 Nov 2020 23:08:49 +0100 Subject: [PATCH] On_Schedule: Fixed bug in logging --- src/thrawn_api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/thrawn_api.cpp b/src/thrawn_api.cpp index c37f9b6..820ed47 100644 --- a/src/thrawn_api.cpp +++ b/src/thrawn_api.cpp @@ -281,7 +281,7 @@ void call_thrawn_on_schedule(LuaService& service, std::time_t now, const std::st lua_pushinteger(service.lua, now); if (lua_pcall(service.lua, 1, 0, 0) != 0) { - spdlog::error("[{}] Unable to call 'thrawn_on_schedule'. [Lua: '{}']", service.name); + spdlog::error("[{}] Unable to call '{}'. [Lua: '{}']", callback, service.name); return; }