use exit code 1 in error case