Skip to content

Commit 9354e2b

Browse files
iHiDclaude
andauthored
Silence OpenSearch timeout errors in SearchUserSolutions (#8350)
The rescue block already falls back to a DB query gracefully, so reporting these expected timeouts to Bugsnag is unnecessary noise. Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 683b3cd commit 9354e2b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

app/commands/solution/search_user_solutions.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,7 @@ def call
4040
total_count = results["hits"]["total"]["value"].to_i
4141
Kaminari.paginate_array(solutions, total_count:).
4242
page(page).per(per)
43-
rescue StandardError => e
44-
Bugsnag.notify(e)
43+
rescue StandardError
4544
Fallback.(user, page, per, track_slug, status, mentoring_status,
4645
criteria, order, sync_status, tests_status, head_tests_status)
4746
end

0 commit comments

Comments
 (0)