syncano-node icon indicating copy to clipboard operation
syncano-node copied to clipboard

Unhandled error when not logged in.

Open jakubkornafel opened this issue 7 years ago • 0 comments

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

jakubkornafel avatar Mar 26 '19 14:03 jakubkornafel