Commit 4d60f086 authored by Dan Abramov's avatar Dan Abramov Committed by GitHub
Browse files

Fix error logic in e2e script

I think this should solve #258
parent 319d2727
No related merge requests found
Showing with 3 additions and 2 deletions
+3 -2
......@@ -16,13 +16,14 @@ function cleanup {
function handle_error {
echo "$(basename $0): \033[31mERROR!\033[m An error was encountered executing \033[36mline $1\033[m."
handle_exit
cleanup
echo 'Exiting with error.'
exit 1
}
function handle_exit {
cleanup
echo 'Exiting.'
echo 'Exiting without error.'
exit
}
......
Supports Markdown
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