Add missing return on "whoami" error

This commit is contained in:
Andrew Ferrazzutti 2022-05-02 02:23:15 -04:00
parent f47bcd3f0c
commit d0dc921fd4
1 changed files with 1 additions and 0 deletions

View File

@ -65,6 +65,7 @@ async def whoami(evt: CommandEvent) -> None:
own_info = None
except CommandException as e:
await evt.reply(f"Error from KakaoTalk: {e}")
return
if own_info:
await evt.reply(
f"You're logged in as `{own_info.more.uuid}` (nickname: {own_info.more.nickName}, user ID: {evt.sender.ktid})."