keep icon indicating copy to clipboard operation
keep copied to clipboard

fix: resolve issue #770 in simulate_rules.py (#5606)

Open Yash-2707 opened this issue 1 year ago • 3 comments

Added a function that checks whether the API key and API url are present or not and give the error according if not present , and added try catch block also

Closes #

📑 Description

This pull request introduces a function that checks whether the API key and API URL are present. If either is missing, the function returns an appropriate error message. Additionally, a try-catch block has been implemented to handle potential errors more gracefully.

Closes

Closes #770

✅ Checks

  • [x] My pull request adheres to the code style of this project
  • [x] My code requires changes to the documentation
  • [x] I have updated the documentation as required
  • [x] All the tests have passed

ℹ Additional Information

  • No breaking changes introduced.
  • The API key and URL checks will ensure better error handling.
  • Screenshot of the error message when API key or URL is missing (if applicable).

Yash-2707 avatar Oct 02 '24 16:10 Yash-2707

@Yash-2707 is attempting to deploy a commit to the KeepHQ Team on Vercel.

A member of the Team first needs to authorize it.

vercel[bot] avatar Oct 02 '24 16:10 vercel[bot]

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Oct 02 '24 16:10 CLAassistant

No linked issues found. Please add the corresponding issues in the pull request description.
Use GitHub automation to close the issue when a PR is merged

github-actions[bot] avatar Oct 02 '24 16:10 github-actions[bot]

this issue is already closed, do you have more context?

shahargl avatar Oct 04 '24 08:10 shahargl