Skip to content

Add error handling to the random number generation script#12

Open
vidhvath28 wants to merge 2 commits intonexus-uw:masterfrom
vidhvath28:main01
Open

Add error handling to the random number generation script#12
vidhvath28 wants to merge 2 commits intonexus-uw:masterfrom
vidhvath28:main01

Conversation

@vidhvath28
Copy link
Copy Markdown

  • Implemented a function to handle errors and exit the script gracefully.
  • Added error checks after critical commands (git clone, git add, git commit, git push) to prevent silent failures.
  • Ensured the script stops execution if any command fails, improving robustness and troubleshooting capabilities.

@vidhvath28 vidhvath28 mentioned this pull request Oct 4, 2024
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