diff --git a/src/helpers/http/userHeader/cookies/getCookies.ts b/src/helpers/http/userHeader/cookies/getCookies.ts index 2468751..24b3100 100644 --- a/src/helpers/http/userHeader/cookies/getCookies.ts +++ b/src/helpers/http/userHeader/cookies/getCookies.ts @@ -8,6 +8,6 @@ export const getCookie = (ctx: Context) => { const cookies = parse(cookiePayload!); return cookies; } catch (error) { - throw new AppError(401, "Cookie not found"); + throw new AppError(401, "Cookie not found", error); } };