Skip to content

Commit b792b55

Browse files
committed
Fix comment typo
1 parent e296bd0 commit b792b55

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

newrelic/hooks/application_celery.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def wrap_task_call(wrapped, instance, args, kwargs):
103103
# Attempt to grab distributed tracing headers
104104
try:
105105
# Headers on earlier versions of Celery may end up as attributes
106-
# on the request context instead of as custom headers. Handler this
106+
# on the request context instead of as custom headers. Handle this
107107
# by defaulting to using vars() if headers is not available
108108
request = wrapped.request
109109
headers = getattr(request, "headers", None) or vars(request)
@@ -192,7 +192,7 @@ def wrapper(wrapped, instance, args, kwargs):
192192
# Attempt to grab distributed tracing headers
193193
try:
194194
# Headers on earlier versions of Celery may end up as attributes
195-
# on the request context instead of as custom headers. Handler this
195+
# on the request context instead of as custom headers. Handle this
196196
# by defaulting to using vars() if headers is not available
197197
request = instance.request
198198
headers = getattr(request, "headers", None) or vars(request)

0 commit comments

Comments
 (0)