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

enhanced handling of errors #479

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

enhanced handling of errors #479

wants to merge 2 commits into from

Conversation

SIR-DG
Copy link

@SIR-DG SIR-DG commented Dec 24, 2024

  • I added URL validation to ensure valid HTTP/HTTPS URLs.
  • I improved error handling for directory creation and downloads of file.
  • Also enhanced readability with modular functions.
  • Added progress feedback for downloads
  • Finally, I updated usage information for better user guidance.

Checklist

Yes, I have successfully ran tests, style checker and build against my new changes locally.

Do look into this

-Now,it can automatically create the destination folder if it does not exist.
-Adding checks to ensure the script fails gracefully if a download fails or the directory cannot be created.
-Enhancing echo messages for clarity
-added wget with the -q flag for cleaner output/feedback

thank me later

Signed-off-by: sirdg <[email protected]>
Copy link

cla-assistant bot commented Jan 7, 2025

CLA assistant check
All committers have signed the CLA.

Copy link

github-actions bot commented Feb 7, 2025

PR has had no activity for 30 days. What is blocking it? Is there anything you can do to help move it forward? Without action it will be closed in 7 days.

@github-actions github-actions bot added the Stale label Feb 7, 2025
- Added URL validation to ensure valid HTTP/HTTPS URLs.
- Improved error handling for directory creation and file downloads.
- Enhanced readability with modular functions
- Added progress feedback for downloads using `wget --show-progress`.
- Updated usage information.

Signed-off-by: sirdg <[email protected]>
@github-actions github-actions bot removed the Stale label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant