Merge pull request #755 from FlightControl-Master/ET-debug_error

fix a small issues in EVENT with debug condition
This commit is contained in:
Sven Van de Velde
2017-12-07 18:50:36 +01:00
committed by GitHub

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