Skip to content

Commit 9858cab

Browse files
authored
Merge pull request #317 from wangzlei/master
Remove redundant error log MISSING_SEGMENT_MSG
2 parents 05f5e8f + 85d8801 commit 9858cab

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Diff for: aws_xray_sdk/core/context.py

-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,6 @@ def handle_context_missing(self):
120120
Called whenever there is no trace entity to access or mutate.
121121
"""
122122
if self.context_missing == 'RUNTIME_ERROR':
123-
log.error(MISSING_SEGMENT_MSG)
124123
raise SegmentNotFoundException(MISSING_SEGMENT_MSG)
125124
else:
126125
log.error(MISSING_SEGMENT_MSG)

0 commit comments

Comments
 (0)