Fix pino logger error calls to properly serialize errors
Pino expects error object first, message second: logger.error(err, 'msg')
The previous pattern logger.error('msg', err) silently discarded errors.
Fixed in:
- apps/blog/app/[param]/[p2]/[permlink]/layout.tsx
- packages/smart-signer/lib/verify-login.ts
- packages/smart-signer/lib/auth/use-logout.ts
- packages/smart-signer/lib/api-handlers/auth/consent.ts
- packages/smart-signer/lib/api-handlers/auth/chat-token.ts
Also added .pnpm-store to .gitignore.
Loading
Please sign in to comment