Merge pull request #7 from Kenearos/claude/fix-job-59338051935-Lo2Jr

Add detailed logging for content extraction debugging
This commit is contained in:
Kenearos 2026-01-02 21:54:59 +01:00 committed by GitHub
commit a1f30c31c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -118,7 +118,14 @@ class EugenBot(irc.bot.SingleServerIRCBot):
# Extract actual content without mention
content = self.detector.extract_content(message)
self.logger.debug(f"Extracted content from '{message}': '{content}'")
if self.dashboard:
self.dashboard.log_event("info", {"message": f"Content extracted: '{content}'"})
if not content:
self.logger.warning(f"Empty content after extraction from: {message}")
if self.dashboard:
self.dashboard.log_event("warning", {"message": f"Empty content from: {message}"})
return
try: