Skip to content

Conversation

@susnux
Copy link
Contributor

@susnux susnux commented Aug 1, 2025

If there is a fallback we should handle this error more gracefully. We report it in the console, but return the fallback if provided. Otherwise we just throw as before.

@susnux susnux requested review from Antreesy and skjnldsv August 1, 2025 15:01
@susnux susnux added bug Something isn't working 3. to review labels Aug 1, 2025
@codecov
Copy link

codecov bot commented Aug 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (e78d684) to head (234ecbf).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##             main      #881       +/-   ##
============================================
+ Coverage   86.36%   100.00%   +13.63%     
============================================
  Files           1         1               
  Lines          22        26        +4     
  Branches        5         7        +2     
============================================
+ Hits           19        26        +7     
+ Misses          3         0        -3     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

If there is a fallback we should handle this error more gracefully.
We report it in the console, but return the fallback if provided.
Otherwise we just throw as before.

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
@susnux susnux force-pushed the fix/return-fallback-error branch from 3fc566d to 234ecbf Compare August 1, 2025 15:03
@susnux susnux mentioned this pull request Aug 1, 2025
@susnux susnux merged commit 76f894b into main Aug 1, 2025
10 checks passed
@susnux susnux deleted the fix/return-fallback-error branch August 1, 2025 15:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants