You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proactive message audit logging fails with 'PlatformAuditService' object has no attribute 'log_event'. This is a non-blocking warning - the proactive message still sends, but audit trail is not recorded.
Component
Backend / Proactive Message Service / Audit
Priority
P3 (warning only, functionality works)
Error
WARNING: Failed to audit proactive message: 'PlatformAuditService' object has no attribute 'log_event'
The proactive message service attempts to call audit_service.log_event() but this method doesn't exist on PlatformAuditService. Either the method was renamed, removed, or the wrong service is being used.
Reproduction Steps
Agent sends a proactive message via Telegram
Message sends successfully
Warning logged about audit failure
Suggested Fix
Check PlatformAuditService for the correct method name (might be log() or record_event())
Update proactive_message_service.py to use the correct method
Or add the missing log_event() method to PlatformAuditService
Activity
fix(audit): use log() instead of missing log_event() in proactive mes…
fix(sharing): coerce NULL owner email before .lower() (#417)
fix(audit): use log() instead of missing log_event() in proactive mes…
fix(sharing): coerce NULL owner email before .lower() (#417)
test(audit): cover send_message success path end-to-end (#374)
fix(audit): log() not log_event() in proactive messages (#374) (#416)