Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update download.sh | Add error handling for each download step #410

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

AhmedIssa11
Copy link

added conditional checks (if !) after each wget command to handle potential errors. If the wget command fails to download a file, it will print an error message and exit with a status code of 1, indicating that an error occurred. This way, the script will stop if any download fails, allowing the user to take appropriate action.

add error handling for each download step
@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 19, 2023
@AhmedIssa11 AhmedIssa11 changed the title Update download.sh Update download.sh | Add error handling for each download step Jul 19, 2023
@msaroufim msaroufim added the download-install Download and installation issues label Sep 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. download-install Download and installation issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants