Skip to content

Fix bad URI error from trailing whitespace in FHIR organization lookups.#22

Merged
Rikki-Dev merged 1 commit intomainfrom
bug/Fix-bad-URI-error
Mar 9, 2026
Merged

Fix bad URI error from trailing whitespace in FHIR organization lookups.#22
Rikki-Dev merged 1 commit intomainfrom
bug/Fix-bad-URI-error

Conversation

@Rikki-Dev
Copy link
Copy Markdown
Contributor

  • Strip whitespace from IDs in Base.find before URL construction
  • Add rescue for ApiError/InvalidURIError in Organisation.find for graceful degradation of any future URI issues

- Strip whitespace from IDs in Base.find before URL construction
- Add rescue for ApiError/InvalidURIError in Organisation.find for graceful degradation of any future URI issues
@Rikki-Dev Rikki-Dev requested a review from a team as a code owner March 5, 2026 09:39
Copy link
Copy Markdown
Contributor

@kenny-lee-1 kenny-lee-1 left a comment

Choose a reason for hiding this comment

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

I think we should possibly investigate catching all/any NdrLookup Errors on the era side

@Rikki-Dev Rikki-Dev merged commit d7249bb into main Mar 9, 2026
12 checks passed
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