浏览代码

Improve log message

Tulir Asokan 2 年之前
父节点
当前提交
9f3fa818d3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mautrix_instagram/portal.py

+ 1 - 1
mautrix_instagram/portal.py

@@ -1085,7 +1085,7 @@ class Portal(DBPortal, BasePortal):
         except ValueError as e:
             content = TextMessageEventContent(body=str(e), msgtype=MessageType.NOTICE)
         except Exception:
-            self.log.warning("Failed to upload media", exc_info=True)
+            self.log.warning("Failed to reupload media from Instagram to Matrix", exc_info=True)
             content = TextMessageEventContent(
                 body="Attachment not available: failed to copy file", msgtype=MessageType.NOTICE
             )