re-raise captured error

This commit is contained in:
Nexus 2023-03-16 23:29:34 +00:00
parent 2f970d4297
commit 3cc1be0e02

View file

@ -869,7 +869,8 @@ class OtherCog(commands.Cog):
try:
_io = await _bot.loop.run_in_executor(None, _convert, text_pre)
except (Exception, IOError) as e:
return await _msg.edit(content="failed. " + str(e))
await _msg.edit(content="failed. " + str(e))
raise e
fn = ""
_words = text_pre.split()
while len(fn) < 28: