diff options
| author | Conrad Irwin <[email protected]> | 2025-07-17 16:25:23 -0600 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-07-17 22:25:23 +0000 |
| commit | 761ffc63388201373e5d16f36c2af09be71b5933 (patch) | |
| tree | 3012681d84b27034ed9ceaa5df2eae6aeb753779 /packages/core/src/utils/retry.ts | |
| parent | 12401898f1f541a8a7919c94b4616fb0263dcce5 (diff) | |
Zed integration (#4266)
Co-authored-by: Agus Zubiaga <[email protected]>
Co-authored-by: Ben Brandt <[email protected]>
Co-authored-by: mkorwel <[email protected]>
Diffstat (limited to 'packages/core/src/utils/retry.ts')
| -rw-r--r-- | packages/core/src/utils/retry.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/core/src/utils/retry.ts b/packages/core/src/utils/retry.ts index e5d65751..bf4532bc 100644 --- a/packages/core/src/utils/retry.ts +++ b/packages/core/src/utils/retry.ts @@ -216,7 +216,7 @@ export async function retryWithBackoff<T>( * @param error The error object. * @returns The HTTP status code, or undefined if not found. */ -function getErrorStatus(error: unknown): number | undefined { +export function getErrorStatus(error: unknown): number | undefined { if (typeof error === 'object' && error !== null) { if ('status' in error && typeof error.status === 'number') { return error.status; |
