mirror of
https://github.com/nexy7574/LCC-bot.git
synced 2024-09-19 18:16:34 +01:00
re-raise captured error
This commit is contained in:
parent
2f970d4297
commit
3cc1be0e02
1 changed files with 2 additions and 1 deletions
|
@ -869,7 +869,8 @@ class OtherCog(commands.Cog):
|
||||||
try:
|
try:
|
||||||
_io = await _bot.loop.run_in_executor(None, _convert, text_pre)
|
_io = await _bot.loop.run_in_executor(None, _convert, text_pre)
|
||||||
except (Exception, IOError) as e:
|
except (Exception, IOError) as e:
|
||||||
return await _msg.edit(content="failed. " + str(e))
|
await _msg.edit(content="failed. " + str(e))
|
||||||
|
raise e
|
||||||
fn = ""
|
fn = ""
|
||||||
_words = text_pre.split()
|
_words = text_pre.split()
|
||||||
while len(fn) < 28:
|
while len(fn) < 28:
|
||||||
|
|
Loading…
Reference in a new issue