diff --git a/misskaty/plugins/download_upload.py b/misskaty/plugins/download_upload.py index 2a8164c6..97efc114 100644 --- a/misskaty/plugins/download_upload.py +++ b/misskaty/plugins/download_upload.py @@ -261,7 +261,7 @@ async def twitterdl(_, message): path = obj.get_dest() await message.reply_video(path, caption=f"{fname}\n\nUploaded for {message.from_user.mention} [{message.from_user.id}]",) except Exception as er: - LOGGING.error(f"ERROR: while fetching TwitterDL. {er}") + LOGGER.error("ERROR: while fetching TwitterDL. %s", er) return await msg.edit_msg("ERROR: Got error while extracting link.") await msg.delete() except Exception as e: