fix a small issues in EVENT with debug condition

This commit is contained in:
132nd-etcher 2017-12-07 10:57:28 +01:00
parent 901f460907
commit 15c09d9880
No known key found for this signature in database
GPG Key ID: 9EEA375B639C20FE

View File

@ -734,7 +734,7 @@ function EVENT:onEvent( Event )
local ErrorHandler = function( errmsg )
env.info( "Error in SCHEDULER function:" .. errmsg )
if debug ~= nil then
if BASE.Debug ~= nil then
env.info( debug.traceback() )
end