Skip to content

fix: stop the search preview from hanging when a provider search fails - #3690

Merged
AlexAndBear merged 3 commits into
mainfrom
fix/search-preview-error
Oct 13, 2026
Merged

AlexAndBear merged 3 commits into
mainfrom
fix/search-preview-error

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Description

  • Preview search errors handled: a failing provider search (e.g. a 500 for a term ending with \) is caught and logged, so the preview leaves "Searching ..." and shows the other providers' results or "No results" instead of hanging with an unhandled error.

Related Issue

How Has This Been Tested?

  • test environment: unit tests (Vitest)
  • test case 1: a rejecting provider search resets loading and the other provider's results are still shown

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@tammi-23 tammi-23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍

@AlexAndBear
AlexAndBear merged commit 1987897 into main Oct 13, 2026
27 checks passed
@AlexAndBear
AlexAndBear deleted the fix/search-preview-error branch October 13, 2026 06:49
@openclouders openclouders mentioned this pull request Oct 13, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Search preview stays on "Searching…" when the search request fails

2 participants