Skip to content

Commit 352cb38

Browse files
only21milclaude
andcommitted
fix(server): keep the tea login list decode failure as the error cause
The invalid-response error for a tea login list that fails to decode now carries the decoder failure as its cause, like the other decode errors. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 0e42d1a commit 352cb38

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎packages/source-control-forgejo/src/server/ForgejoCli.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ export const make = Effect.gen(function* () {
345345
cwd: input.cwd,
346346
reason: "invalid-response",
347347
detail: "tea returned an invalid login list.",
348+
cause: logins.failure,
348349
});
349350
return logins.success;
350351
});

0 commit comments

Comments
 (0)