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

Use more meaningful domain exceptions to represent ApiKeyService thrown errors #2271

Merged

Conversation

acelaya
Copy link
Member

@acelaya acelaya commented Nov 18, 2024

Instead of reusing the same generic exception for all errors thrown by ApiKeyService, use more meaningful and specific domain exceptions.

Copy link

codecov bot commented Nov 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.66%. Comparing base (a9ae4a2) to head (8298ef3).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop    #2271   +/-   ##
==========================================
  Coverage      93.66%   93.66%           
- Complexity      1654     1658    +4     
==========================================
  Files            272      274    +2     
  Lines           5774     5780    +6     
==========================================
+ Hits            5408     5414    +6     
  Misses           366      366           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@acelaya acelaya merged commit 052c9e7 into shlinkio:develop Nov 18, 2024
31 checks passed
@acelaya acelaya deleted the feature/api-key-domain-exceptions branch November 18, 2024 08: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.

1 participant