From a0d6603fc1ed35c84a23891082cb003444f3bdd6 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Thu, 12 Nov 2026 08:02:44 +0000 Subject: [PATCH] docs(celery): Fix stale comment referencing removed sentry_apply_entry --- sentry_sdk/integrations/celery/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sentry_sdk/integrations/celery/__init__.py b/sentry_sdk/integrations/celery/__init__.py index b81e622003..38c76b67c6 100644 --- a/sentry_sdk/integrations/celery/__init__.py +++ b/sentry_sdk/integrations/celery/__init__.py @@ -241,8 +241,9 @@ def _update_celery_task_headers( if combined_baggage: updated_headers["headers"][BAGGAGE_HEADER_NAME] = combined_baggage - # Add the Sentry options potentially added in `sentry_apply_entry` - # to the headers (done when auto-instrumenting Celery Beat tasks) + # Add the Sentry options potentially added in + # `_apply_crons_data_to_schedule_entry` to the headers (done when + # auto-instrumenting Celery Beat tasks) for key, value in updated_headers.items(): if key.startswith("sentry-"): updated_headers["headers"][key] = value