Skip to content

Commit 00286ef

Browse files
committed
chore: add more logs
1 parent 69b2862 commit 00286ef

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/server/model/auth.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,10 @@ export async function getAuthSession(
153153
);
154154

155155
if (!req.headers.cookie) {
156-
logger.warn('No cookie in request, can not get auth session');
156+
logger.warn('No cookie in request, can not get auth session:', {
157+
protocol,
158+
headers: req.headers,
159+
});
157160
}
158161

159162
const response = await Auth(

0 commit comments

Comments
 (0)