diff --git a/bin/drall b/bin/drall index e2e1465..f8d3735 100755 --- a/bin/drall +++ b/bin/drall @@ -24,13 +24,6 @@ foreach ([ use Drall\Drall; -try { - $drall = new Drall(); - $exitCode = $drall->run(); -} -catch (Exception $e) { - echo "ERROR {$e->getCode()}: {$e->getMessage()}"; - exit(1); -} - -exit($exitCode); +$drall = new Drall(); +$drall->setAutoExit(TRUE); +$drall->run();