dumpfile: no longer crashes on error
This commit is contained in:
parent
512b69cb9e
commit
a28a09f15c
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ VMFMod.dofile = function (self, script_path)
|
||||||
if not success then
|
if not success then
|
||||||
self:error("(loadfile): %s", value.error)
|
self:error("(loadfile): %s", value.error)
|
||||||
|
|
||||||
print("\nTRACEBACK:\n\n" .. value.traceback .. "\nLOCALS:\n\n" .. value.locals)
|
print("\nTRACEBACK:\n\n" .. tostring(value.traceback) .. "\nLOCALS:\n\n" .. tostring(value.locals))
|
||||||
end
|
end
|
||||||
|
|
||||||
return value
|
return value
|
||||||
|
|
Loading…
Add table
Reference in a new issue