From 08778bf0a5f1bf65a4a79aefbc59814d95407ea9 Mon Sep 17 00:00:00 2001 From: Michelle Date: Sat, 25 Apr 2026 17:18:29 +0200 Subject: [PATCH] fix: add logging for failed racoon image decoding --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 946a190..0626c7e 100644 --- a/main.py +++ b/main.py @@ -175,6 +175,7 @@ async def racoon(message): image_bytes = base64.b64decode(payload) except (ValueError, base64.binascii.Error): await message.channel.send("Could not decode racoon image") + logging.warning(f"Failed to decode base64 image data: {payload}") return await message.channel.send(file=fluxer.File(image_bytes, filename="racoon.jpg"))