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

[#2843] Refactor error handling for vragen/aanvragen list views #1478

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

pi-sigma
Copy link
Contributor

Instead of passing silently over errors which occurred when trying to fetch vragen/aanvragen, we re-raise the exception and display an informative message to the user.

Taiga: https://taiga.maykinmedia.nl/project/open-inwoner/issue/2843

@pi-sigma pi-sigma force-pushed the issue/2843-list-views-error-messages branch 3 times, most recently from 1b243e3 to e63a8b1 Compare October 31, 2024 09:04
    - instead of passing silently over errors which occurred when
      trying to fetch vragen/aanvragen, we re-raise the exception
      and display an informative message to the user
    - custom exceptions are introduced for the klanten and zaken
      services
@pi-sigma pi-sigma force-pushed the issue/2843-list-views-error-messages branch from e63a8b1 to b6ce4ae Compare October 31, 2024 09:30
@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 62.50000% with 18 lines in your changes missing coverage. Please review.

Project coverage is 94.29%. Comparing base (5e2afe4) to head (b6ce4ae).

Files with missing lines Patch % Lines
src/open_inwoner/openklant/services.py 30.00% 7 Missing ⚠️
src/open_inwoner/accounts/views/contactmoments.py 62.50% 3 Missing ⚠️
src/open_inwoner/openklant/clients.py 0.00% 3 Missing ⚠️
src/open_inwoner/cms/cases/views/cases.py 77.77% 2 Missing ⚠️
src/open_inwoner/cms/cases/views/services.py 33.33% 2 Missing ⚠️
src/open_inwoner/accounts/signals.py 66.66% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1478      +/-   ##
===========================================
- Coverage    94.31%   94.29%   -0.03%     
===========================================
  Files         1065     1067       +2     
  Lines        40001    40027      +26     
===========================================
+ Hits         37726    37742      +16     
- Misses        2275     2285      +10     

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

@swrichards swrichards marked this pull request as ready for review October 31, 2024 10:34
@pi-sigma pi-sigma marked this pull request as draft November 19, 2024 11:25
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