mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
Realtime errors are now recorded onto a span and shipped to a Sentry project configured via _APP_LOGGING_CONFIG_REALTIME (falls back to _APP_LOGGING_CONFIG). The Sentry span exporter is registered in app/realtime.php so it does not affect the HTTP/worker/CLI span exporters. logError() attaches the error to the active span, or opens a short-lived realtime.error span for call sites without one (pub/sub subscriber, onStart, the Swoole error handler), and keeps the legacy utopia/logger push only for non-Sentry providers; the realtimeLogger registry now returns null when the provider is Sentry to avoid double-reporting. Documents _APP_LOGGING_CONFIG_REALTIME.