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
{{ message }}
Repository navigation
Replace console.error with structured logError in production paths #294
Multiple production code paths use raw console.error for error logging, bypassing the existing winston-based telemetry infrastructure (src/telemetry/index.ts).
Affected files
Auth
src/auth/verification.ts
src/auth/resetPassword.ts
src/auth/providers/google.ts
src/auth/providers/github.ts
src/auth/providers/oauth-common.ts
Server
src/app/server.ts
src/app/index.ts
src/app/metrics.ts
src/app/backendApi.ts
Infrastructure
src/db/client.ts
src/config/sync.ts
src/cron/jobs.ts
src/migration/index.ts
src/routes/handler.ts
src/websocket/socketio/server.ts
Fix
Replace each console.error call with logError(message, { error | err }).
logError already delegates to winston (when telemetry is enabled and the logger is initialized) and falls back to console.error when telemetry is not configured, making this a safe, zero-regression change.
Activity
refactor(logging): address review feedback on auth and live-query log…