diff --git a/src/tz/core/lua.cpp b/src/tz/core/lua.cpp index 6584b9c2d2..dd6d1f0a40 100644 --- a/src/tz/core/lua.cpp +++ b/src/tz/core/lua.cpp @@ -49,7 +49,7 @@ namespace tz const char* err = lua_tostring(lua, -1); if(err != nullptr) { - RETERR(tz::error_code::unknown_error, "lua error while executing file {}: ", path.filename().string(), err); + RETERR(tz::error_code::unknown_error, "lua error while executing file {}: {}", path.filename().string(), err); } return tz::error_code::success; }