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

adding error checking for hooks & API helper functions #54

Merged
merged 4 commits into from
Aug 20, 2024

Conversation

koebel
Copy link
Collaborator

@koebel koebel commented Aug 14, 2024

Description

adding error checking for the hooks helper functions and and try/catch clause to API helper to make them less prone to errors or at least easier to understand why something is failing if there is an error with deleting files.

Related Issue

Motivation and Context

make app less prone to errors and improve debugging

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Tests only (no source changes)

Checklist:

  • Code changes
  • Unit tests added
  • Acceptance tests added/enhanced

@koebel koebel changed the title adding error checking for hooks helper functions adding error checking for hooks & API helper functions Aug 14, 2024
Copy link

sonarcloud bot commented Aug 14, 2024

@koebel koebel requested a review from phil-davis August 20, 2024 04:40
@koebel koebel merged commit e528bd1 into main Aug 20, 2024
2 checks passed
@koebel koebel deleted the error-checking-for-helper-functions branch August 20, 2024 04:59
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.

2 participants