Skip to content

Remove stacktrace from error message when not logged into CLI #1379

@tpoliaw

Description

@tpoliaw

Without being logged in, running blueapi controller plans prints a stacktrace ending in

blueapi.client.rest.BlueskyRemoteControlError: (401, '<Response [401]>')

instead of an error message.

This was broken in #935 where the exception had the error code added and the wrapper no longer matches the string correctly.

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