add debug

This commit is contained in:
chrys 2018-07-19 22:42:12 +02:00
parent 12d1d96afd
commit 79d762939e

View File

@ -192,7 +192,7 @@ class driver(screenDriver):
"Data":screen_utils.createScreenEventData(terminal.GetScreenContent())
})
except Exception as e: # Process died?
print(e)
self.env['runtime']['debug'].writeDebugOut('Process died' + str(e),debug.debugLevel.ERROR)
active.value = False
finally:
os.kill(p_pid, signal.SIGTERM)