mirror of
https://github.com/uhIgnacio/EmoteManager.git
synced 2024-08-15 02:23:13 +00:00
fix errors when timing out while resizing
This commit is contained in:
parent
127cf320be
commit
b657892b3b
2 changed files with 8 additions and 2 deletions
|
@ -171,6 +171,8 @@ class Emotes(commands.Cog):
|
|||
return (
|
||||
'An error occurred while creating the emote:\n'
|
||||
+ utils.format_http_exception(ex))
|
||||
except errors.ImageResizeTimeoutError:
|
||||
raise
|
||||
except asyncio.TimeoutError:
|
||||
return 'Error: retrieving the image took too long.'
|
||||
except ValueError:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue