Commit 489a8a57 authored by Gandalf's avatar Gandalf
Browse files

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.
parent 583ea5ba
Loading
Loading
Loading
Loading