Handle API errors
fregante opened this issue · comments
Federico Brigante commented
404s are stuck on Retrieving directory info…
Federico Brigante commented
Token-related issues are not yet caught. Try entering 00000000000000000000000000000000000
as the token, it will be stuck on Retrieving directory info…
This will also happen if the token expired and probably if we try to access a private repo if the token has no private
access (untested though)
Florian Reuschel commented
Ha. I silently removed the frontend feedback for the "repo exists & is public" check when I removed the .catch()
block from the init()
call and handled everything in-place. Forgot to do that for this particular check.
BRB with a new PR. 😁