Open ChrisPenner opened 2 months ago
this is related to #5205
Here's a ProjectRef type and parser from the Share UI: https://github.com/unisoncomputing/share-ui/blob/main/src/UnisonShare/Project/ProjectRef.elm
We should check if its valid based in the above before sending the request
Here's a ticket for generally improving unexpected server response errors: https://github.com/unisonweb/unison/issues/5341
Suggested error message surrounding project reference parsing:
`potions` looks like an invalid project reference.
Please try again in the format of: @unison/base.
If you don't specify a valid project name you get a request dump :'(