This commit is contained in:
Richard Chien 2018-07-25 22:50:08 +08:00
parent de9a4e5b83
commit 545f9e840b

View File

@ -504,6 +504,6 @@ async def _real_run_command(session: CommandSession,
if ctx_id in _sessions:
# make sure there is no session waiting
del _sessions[ctx_id]
logger.debug(f'Session of command {session.cmd.name} switching,'
logger.debug(f'Session of command {session.cmd.name} switching, '
f'new context message: {e.new_ctx_message}')
raise e # this is intended to be propagated to handle_message()