fix: add logging for failed racoon image decoding
Build and publish ich_iel bot / build (push) Successful in 1m32s

This commit is contained in:
2026-04-25 17:18:29 +02:00
parent 63972faa63
commit 08778bf0a5
+1
View File
@@ -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"))