Commit bc6b7869 by Pavel Puchkin

Exit with non-zero if command fails, useful in scripting and CI

parent 778a97b3
......@@ -43,7 +43,8 @@ try
}
catch (\Exception $e)
{
echo $e->getMessage();
echo $e->getMessage().PHP_EOL;
exit(1);
}
echo PHP_EOL;
\ No newline at end of file
echo PHP_EOL;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment