mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 03:38:53 -05:00
Add logging for unexpected OSError in [p]repo add (#3558)
* Update downloader.py * Update downloader.py Co-authored-by: Draper <27962761+Drapersniper@users.noreply.github.com>
This commit is contained in:
parent
f6c85cd37a
commit
eff1014911
@ -514,6 +514,9 @@ class Downloader(commands.Cog):
|
||||
exc_info=err,
|
||||
)
|
||||
except OSError:
|
||||
log.exception(
|
||||
"Something went wrong trying to add repo %s under name %s", repo_url, name,
|
||||
)
|
||||
await ctx.send(
|
||||
_(
|
||||
"Something went wrong trying to add that repo."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user