Move private information to trace log level. Fixes #321

This commit is contained in:
Tulir Asokan
2020-05-20 22:40:20 +03:00
parent 40beb8f752
commit f454803ef7
8 changed files with 45 additions and 31 deletions
+3 -1
View File
@@ -165,7 +165,9 @@ async def join(evt: CommandEvent) -> Optional[EventID]:
try:
await portal.create_matrix_room(evt.sender, chat, [evt.sender.mxid])
except ChatIdInvalidError as e:
logging.getLogger("mau.commands").info(updates.stringify())
logging.getLogger("mau.commands").trace("ChatIdInvalidError while creating portal "
"from !tg join command: %s",
updates.stringify())
raise e
return await evt.reply(f"Created room for {portal.title}")
return None