Skip to content

console: core/src/server/index.ts:74 — console.error on server start failure #312

@realfishsam

Description

@realfishsam

Violation

console.error('Failed to start server:', error);

Location

core/src/server/index.ts line 74

Why It Matters

Server startup failures are critical events that must be captured in structured error logs and routed to alerting systems. Raw console.error output is not captured by log aggregators.

Suggested Fix

Replace with logger.error('Failed to start server:', error).


Found by automated code hygiene audit

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions