mirror of
https://github.com/appgurueu/modlib.git
synced 2024-11-22 15:23:48 +01:00
Fix assertdump stack level
This commit is contained in:
parent
b87395272b
commit
11e8bc6f4c
2
init.lua
2
init.lua
@ -46,7 +46,7 @@ modlib = {
|
||||
}),
|
||||
assertdump = function(v, value)
|
||||
if not v then
|
||||
error(dump(value))
|
||||
error(dump(value), 2)
|
||||
end
|
||||
end
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user