Skip to content

Commit

Permalink
[core.lua] fix error in debug report that didnt actually print out th…
Browse files Browse the repository at this point in the history
…e underlying lua error. woops
  • Loading branch information
harrand committed Nov 4, 2024
1 parent b515030 commit 488213c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tz/core/lua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 488213c

Please sign in to comment.