Skip to content

Commit

Permalink
Return proper error code
Browse files Browse the repository at this point in the history
  • Loading branch information
mattab committed Feb 18, 2014
1 parent 8dae22f commit eac37c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/Console.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,8 @@ protected function initConfig()
$config->checkLocalConfigFound();
return $config;
} catch (\Exception $e) {
die($e->getMessage() . "\n\n");
echo ($e->getMessage() . "\n\n");
exit(1);
}
}

Expand Down

0 comments on commit eac37c7

Please sign in to comment.