Skip to content
This repository has been archived by the owner on Jan 6, 2023. It is now read-only.

Commit

Permalink
cli: show exception message
Browse files Browse the repository at this point in the history
Ref: #691
  • Loading branch information
wellingguzman committed Jan 11, 2019
1 parent 3b7ab0e commit 2c29a91
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bin/directus
Expand Up @@ -6,6 +6,10 @@ $basePath = realpath(__DIR__ . '/../');
$loader = require $basePath . '/vendor/autoload.php';

$cli = new \Directus\Console\Cli($basePath);
$cli->run();
try {
$cli->run();
} catch (\Exception $e) {
echo $e->getMessage() . PHP_EOL;
}

?>

0 comments on commit 2c29a91

Please sign in to comment.