@devries-cameron20 / t3code Mirror · read-only / commits / 1896f39a38
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 24, 15:15 UTC

refactor(server): simplify error transformation with Effect.mapError in GitHubPullRequestCli (#7385)

Signed-off-by: aoright <102943475+aoright@users.noreply.github.com>

aoright committed Aug 19, 2026 at 01:38 UTC 1896f39a38f6fe980ea137fbc402dde8be17b83a
1 file changed +1 -2
apps/server/src/pullRequest/GitHubPullRequestCli.ts
+1 -2
@@ -1451,8 +1451,7 @@ export const make = Effect.gen(function* () {
1451 // the page. Narrowed to a command that ran and was refused: a missing `gh` or a
1452 // signed-out one fails the same way for every request.
1453 Effect.catchTags({
1454 - GitHubCliCommandError: (error) =>
1455 - filesPage(1).pipe(Effect.catch(() => Effect.fail(error))),
1454 + GitHubCliCommandError: (error) => filesPage(1).pipe(Effect.mapError(() => error)),
1455 }),
1456 );
1457 },