Files
openclaw/extensions
Cole Tebou 60406d0e60 feat(bluebubbles): promote attachment download errors to runtime.error and redact secrets in logs
Carries forward two BlueBubbles observability/security fixes from #73241
so this PR is a strict superset of the competing implementation.

- Promote attachment download failures from logVerbose to runtime.error
  alongside a verbose copy. Previously, BB attachment download failures
  (pinned-dispatcher compat bugs, BB server 500s, transient network
  errors) were invisible at default log level — agents only saw the
  `<media:image> (1 image)` placeholder text with nothing in the log
  pointing at the actual failure.
- Extend sanitizeForLog to redact `?password=…` / `?token=…` /
  `?api_key=…` / `?secret=…` query params and `Authorization: Bearer …`
  headers before they reach the log sink. BB uses query-string auth by
  default, so error chains carrying captured request URLs were
  vulnerable to leaking the API password into log aggregators
  (CWE-532).
- Move the changelog entry to the bottom of `## Unreleased` →
  `### Changes`. Insertions at the top of that section are the most
  common cause of CHANGELOG conflicts on long-lived PRs; bottom
  position keeps the diff context stable.

Both behavioral changes originated in @zqchris's PR #73241; attribution
preserved in the CHANGELOG entry.
2026-05-01 04:51:29 +00:00
..
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00
2026-04-29 22:42:45 +01:00