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

Fix incorrect error handling in template-fetcher service #801

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

elpoelma
Copy link
Contributor

@elpoelma elpoelma commented Jan 6, 2025

Overview

This PR solves an issue introduced in #797
The !response.ok condition used in the template-fetcher should be response.ok.

connected issues and PRs:

None

Setup

None

How to test/reproduce

Ensure you can correctly fetch + instantiate templates coming from RB.

Checks PR readiness

  • UI: works on smaller screen sizes
  • UI: feedback for any loading/error states
  • Check cancel/go-back flows
  • Check database state correct when deleting/updating (especially regarding relationships)
  • changelog
  • npm lint
  • no new deprecations

@elpoelma elpoelma added the bug Something isn't working label Jan 6, 2025
@elpoelma elpoelma force-pushed the fix/template-fetcher-error-handling branch from 3b38207 to 02e6905 Compare January 6, 2025 11:21
Copy link
Contributor

@piemonkey piemonkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Damn. Not sure how I managed to miss this in testing...

@elpoelma
Copy link
Contributor Author

elpoelma commented Jan 6, 2025

Damn. Not sure how I managed to miss this in testing...

I also managed to miss it in reviewing 😬

@elpoelma elpoelma merged commit 3d72d73 into master Jan 6, 2025
3 checks passed
@elpoelma elpoelma deleted the fix/template-fetcher-error-handling branch January 6, 2025 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants