From 1f6b82a08574b66995181889b786fd22a003f7d3 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad <--unset> Date: Sun, 1 Feb 2026 18:20:57 -0300 Subject: assert: skip compat53 itself from the stacktrace --- compat53/module.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compat53/module.lua') diff --git a/compat53/module.lua b/compat53/module.lua index 6133a34..b583875 100644 --- a/compat53/module.lua +++ b/compat53/module.lua @@ -170,9 +170,9 @@ if lua_version < "5.3" then if cond then return cond, ... elseif select('#', ...) > 0 then - error((...), 0) + error((...), 2) else - error("assertion failed!", 0) + error("assertion failed!", 2) end end -- cgit v1.2.3-55-g6feb