Skip to content

Commit c1d30f9

Browse files
committed
fix(lint): use optional catch binding for unused fallback error
ClawSweeper P2: the catch block on the fallback failure path no longer reads the error variable. Use catch {} to satisfy the unicorn/prefer-optional-catch-binding lint rule.
1 parent e192600 commit c1d30f9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/agents/subagent-announce-delivery.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ async function sendSubagentAnnounceDirectly(params: {
743743
path: resolveCompletionFallbackPath(deliveryTarget.threadId),
744744
};
745745
}
746-
} catch (err) {
746+
} catch {
747747
// Fallback failed — fall through to gateway call below
748748
}
749749
}

0 commit comments

Comments
 (0)