Skip to content

Commit 30c78a1

Browse files
Update server/index.ts
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 20a4686 commit 30c78a1

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

server/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,8 @@ async function startServer() {
143143
clearTimeout(timeoutId);
144144

145145
if (!tokenResponse.ok) {
146+
const errorText = await tokenResponse.text();
147+
console.error('GitHub token exchange failed:', tokenResponse.status, errorText);
146148
return res.status(400).json({ error: 'Token exchange failed' });
147149
}
148150

0 commit comments

Comments
 (0)