unisonweb / unison

A friendly programming language from the future
https://unison-lang.org
Other
5.81k stars 271 forks source link

ucm doesn't tell me that i'm not logged into share #5328

Open aryairani opened 2 months ago

aryairani commented 2 months ago

What's the message you're seeing? Please paste from your terminal or paste a screenshot, e.g:

@unison/cloud/main> clone <private project>

  Unauthorized: No project found

What would a better version look like?

@unison/cloud/main> clone <private project>

  Unauthorized: Not logged in. Use `auth.login` to reauthenticate.

Environment (please complete the following information):

hojberg commented 2 months ago

Note that if UCM detects that the user is already logged in and the error is still a 401 (unauthorized), we should show the original message or something akin to "That project doesn't seem to exist."