Skip to content

[Bug]: nodeDB reference undefined in telemetry subscription — crashes on deviceMetrics packet #1269

Description

@danditomaso

apps/web/src/core/subscriptions.ts:44 calls nodeDB.addDeviceMetrics(...) but nodeDB is never imported or defined in the module. Any incoming deviceMetrics telemetry packet throws ReferenceError: nodeDB is not defined.

Either restore the intended import, route to the SDK NodesClient (as the surrounding comments suggest ownership moved there), or delete the branch if the SDK already handles it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions