fix: resolve merge conflict in isWorkerUnavailableError

Missing return statement and closing brace in the programming errors
check caused a build failure after merging main.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Alex Newman
2026-02-10 23:47:46 -05:00
parent af95461a70
commit cb0933a908
3 changed files with 266 additions and 257 deletions
+2
View File
@@ -57,6 +57,8 @@ export function isWorkerUnavailableError(error: unknown): boolean {
// Programming errors — code bugs, not worker unavailability
// Note: TypeError('fetch failed') already handled by transport patterns above
if (error instanceof TypeError || error instanceof ReferenceError || error instanceof SyntaxError) {
return false;
}
// Default: treat unknown errors as blocking (conservative — surface bugs)
return false;