Skip to content

[Bug]: removeConnection silently swallows removeDevice errors #1272

Description

@danditomaso

apps/web/src/pages/Connections/useConnections.ts:89 wraps useDeviceStore.getState().removeDevice(...) in a bare catch {}. Any failure (state corruption, throw from the store) is hidden and leaves the connection + device store partially cleaned up.

Log the error at minimum; surface via toast if the removal is user-initiated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Fields

    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