mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -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:
@@ -514,6 +514,9 @@ class Downloader(commands.Cog):
|
|||||||
exc_info=err,
|
exc_info=err,
|
||||||
)
|
)
|
||||||
except OSError:
|
except OSError:
|
||||||
|
log.exception(
|
||||||
|
"Something went wrong trying to add repo %s under name %s", repo_url, name,
|
||||||
|
)
|
||||||
await ctx.send(
|
await ctx.send(
|
||||||
_(
|
_(
|
||||||
"Something went wrong trying to add that repo."
|
"Something went wrong trying to add that repo."
|
||||||
|
|||||||
Reference in New Issue
Block a user