Cog-Creators / Cog-Creators/Red-DiscordBot
Downloader - Silently return no repos when incorrect permissions
Open
Category: Cogs - Downloader
Status: PRs Welcome
Type: Bug
- Dominant language
- Python
- Stars
- 5.7k
- Forks
- 2.5k
- Avg merge
- 6d 16h
- Merged PRs (30d)
- 1
Description
### What Red version are you using?
3.5.22
### Cog name
Downloader
### Command name
repo list or cog update
### What did you expect to happen?
To list the repos available or update the cogs.
Or if the permissions are wrong, to send something or log it in the console.
### What actually happened?
It returns "There are no repos installed." or "There were no cogs to check."
### How can we reproduce this error?
1. Change the owner of the repos folder. (Eg: chown debian:debian repos)
2. Restart the bot.
3. Use the repo list or cog update command.
### Anything else?
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.