You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: replace console.error with proper logger throughout API
Replaces all console.error calls with proper logger usage for consistency
and better error tracking across the API layer.
## Changes
- **api-errors.ts**: Replace console.error with createLogger("api-errors")
- **gists/route.ts**: Replace console.error with createLogger("api:gists:post")
- **api-errors.test.ts**: Update test mocks to use logger instead of console.error
## Benefits
- Consistent logging format with timestamps and context
- Better error tracking and debugging capability
- Follows established logging patterns throughout codebase
- Proper error object handling instead of raw console output
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <claude@ghostpaste.dev>
0 commit comments