download-directory / download-directory.github.io

Web App: Download just a sub directory from a GitHub repo.

Home Page:https://download-directory.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Handle API errors

fregante opened this issue · comments

404s are stuck on Retrieving directory info…

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)

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. 😁