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:
File diff suppressed because one or more lines are too long
+251
-244
File diff suppressed because one or more lines are too long
@@ -57,6 +57,8 @@ export function isWorkerUnavailableError(error: unknown): boolean {
|
|||||||
// Programming errors — code bugs, not worker unavailability
|
// Programming errors — code bugs, not worker unavailability
|
||||||
// Note: TypeError('fetch failed') already handled by transport patterns above
|
// Note: TypeError('fetch failed') already handled by transport patterns above
|
||||||
if (error instanceof TypeError || error instanceof ReferenceError || error instanceof SyntaxError) {
|
if (error instanceof TypeError || error instanceof ReferenceError || error instanceof SyntaxError) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Default: treat unknown errors as blocking (conservative — surface bugs)
|
// Default: treat unknown errors as blocking (conservative — surface bugs)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user