Skip to content

chore: fix typo in retry-exhausted error message (occured -> occurred)#5677

Open
Chen17-sq wants to merge 1 commit into
Helicone:mainfrom
Chen17-sq:chore/typo-occured-providerclient
Open

chore: fix typo in retry-exhausted error message (occured -> occurred)#5677
Chen17-sq wants to merge 1 commit into
Helicone:mainfrom
Chen17-sq:chore/typo-occured-providerclient

Conversation

@Chen17-sq

Copy link
Copy Markdown

Summary

Both retry helpers in this repo (valhalla/jawn/src/lib/proxy/ProviderClient.ts and worker/src/lib/clients/ProviderClient.ts) throw "500 An error occured while retrying your requests" when all retries fail.

occured is a common misspelling of occurred. The string is user-visible — it propagates up when the provider remains unreachable across the entire retry budget, so it can surface in production logs and on-call traces.

Scope

Pure string change in two files. No logic, control flow, or test affected.

- throw new Error("500 An error occured while retrying your requests");
+ throw new Error("500 An error occurred while retrying your requests");

Test plan

  • No tests asserted against the exact string.
  • grep confirms no other 'occured' typos in source under valhalla/jawn/src/ or worker/src/.

Both retry helpers (valhalla/jawn and worker) throw "500 An error occured while retrying your requests" when all retries fail. "occured" is a common misspelling of "occurred". This message is user-visible when the provider remains unreachable across the entire retry budget, so the typo can surface in production logs.

Pure string change. No logic, control flow, or test affected.
@vercel

vercel Bot commented May 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

3 Skipped Deployments
Project Deployment Actions Updated (UTC)
helicone Skipped Skipped May 16, 2026 5:42am
helicone-bifrost Skipped Skipped May 16, 2026 5:42am
helicone-eu Skipped Skipped May 16, 2026 5:42am

Request Review

@vercel vercel Bot temporarily deployed to Preview – helicone-eu May 16, 2026 05:42 Inactive

@greptile-apps greptile-apps Bot 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.

Your free trial has ended. If you'd like to continue receiving code reviews, you can add a payment method here.

@vercel vercel Bot temporarily deployed to Preview – helicone-bifrost May 16, 2026 05:42 Inactive
@vercel vercel Bot temporarily deployed to Preview – helicone May 16, 2026 05:42 Inactive
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.

1 participant