Skip to content

Unhandled error when not logged in.  #373

Open
@jakubkornafel

Description

@jakubkornafel

Environment

  • OS: MacOS Mojave
  • Syncano version: 0.16.0-alpha.3fa2c49b

Describe the bug
When running 'npx s info' and not being logged in, I'll get:

username: undefined 
full name: undefined undefined 
current instance: frosty-rain-4299 
Unhandled Rejection! Error: You do not have permission to perform this action.

Please file an issue here:
https://github.com/Syncano/syncano-node/issues 

To Reproduce
Steps to reproduce the behavior:

  1. You must have an instance, but be not logged in.
  2. In terminal write: 'npx s info'

Expected behavior
I expect to be informed about not being logged in. Should not be able to see an instance name while being unlogged

Screenshots
If applicable, add screenshots to help explain your problem.

Screenshot 2019-03-26 at 15 04 51

Metadata

Metadata

Assignees

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