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
commit 822920e77e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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