Skip to content

Improve error messages when not logged in #270

Description

@vpetersson

If you run the edge-app command when not logged in, you get this:

$ screenly edge-app run 
thread 'main' panicked at src/cli.rs:822:48:
Failed to load authentication.: Io(Os { code: 2, kind: NotFound, message: "No such file or directory" })
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Granted, it says failed to load authentication, but that is hardly a useful message.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions