LOW: Fix logger.error() misuse for non-error messages in bot.py #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
In bot/bot.py, logger.error() is used for informational messages that are not actual errors. For example, messages like 'Processing embed from message...' are logged at ERROR level when they should be DEBUG or INFO.
This causes:
Proposed Solution
Audit bot/bot.py (and potentially other files) for logger.error() calls and re-classify:
Quick audit command:
Review each hit and determine if it represents an actual error condition.
Impact
Files Affected