public function handleException(Throwable $aEx)
 {
     Env::getLogger()->error((string) $aEx, ['requestId' => Env::getVars()->get('requestId'), 'exception' => $aEx]);
     Env::getStandardOutput()->write('FATAL ERROR: ' . $aEx->getMessage());
 }
 public function markResolved()
 {
     parent::markResolved();
     Env::getStandardOutput()->addEventListener('standard-output', [$this, 'handleStandardOutput']);
 }
 protected function executeScript()
 {
     $stdout = Environment::getStandardOutput();
     $stdout->write("Hello World.");
 }