10 lines
250 B
Lua
10 lines
250 B
Lua
function auFatal(...)
|
|
print("[!!!] Fatal Crash")
|
|
if (_auFatalMsg) then
|
|
print("Previous step: ", json.encode(_auFatalMsg))
|
|
end
|
|
print("Error Message: ", ...)
|
|
--print("Origin:")
|
|
print(debug.traceback())
|
|
os.exit(1)
|
|
end |