From 91d1469450a493ec101a2b46be36d64f6993b64e Mon Sep 17 00:00:00 2001 From: ajax146 <31014239+ajax146@users.noreply.github.com> Date: Wed, 12 Jun 2024 16:42:35 -0400 Subject: [PATCH] Reupload failed is now a warning not an info --- techsupport_bot/commands/protect.py | 2 +- techsupport_bot/functions/logger.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/techsupport_bot/commands/protect.py b/techsupport_bot/commands/protect.py index d3f40d7a3..d6aedc1e1 100644 --- a/techsupport_bot/commands/protect.py +++ b/techsupport_bot/commands/protect.py @@ -310,7 +310,7 @@ async def handle_length_alert( message=( f"Protect did not reupload {lf} file(s) due to file size limit." ), - level=LogLevel.INFO, + level=LogLevel.WARN, channel=log_channel, context=LogContext(guild=ctx.guild, channel=ctx.channel), ) diff --git a/techsupport_bot/functions/logger.py b/techsupport_bot/functions/logger.py index df49e56bb..803b82348 100644 --- a/techsupport_bot/functions/logger.py +++ b/techsupport_bot/functions/logger.py @@ -198,7 +198,7 @@ async def build_attachments( f"Logger did not reupload {lf} file(s) due to file size limit" f" on message {ctx.message.id} in channel {ctx.channel.name}." ), - level=LogLevel.INFO, + level=LogLevel.WARN, channel=log_channel, context=LogContext(guild=ctx.guild, channel=ctx.channel), )