your personal website on atproto - mirror blento.app

add more logging

Florian fb67283a f0cea4f6

+4 -1
+4 -1
src/routes/api/github/+server.ts
··· 69 69 }); 70 70 71 71 if (!response.ok) { 72 - return json({ error: 'Failed to fetch GitHub data' }, { status: response.status }); 72 + return json( 73 + { error: 'Failed to fetch GitHub data ' + response.statusText }, 74 + { status: response.status } 75 + ); 73 76 } 74 77 75 78 const data = await response.json();