Skip to content

Commit

Permalink
Merge pull request #317 from wangzlei/master
Browse files Browse the repository at this point in the history
Remove redundant error log MISSING_SEGMENT_MSG
  • Loading branch information
willarmiros authored Nov 29, 2021
2 parents 05f5e8f + 85d8801 commit 9858cab
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion aws_xray_sdk/core/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,6 @@ def handle_context_missing(self):
Called whenever there is no trace entity to access or mutate.
"""
if self.context_missing == 'RUNTIME_ERROR':
log.error(MISSING_SEGMENT_MSG)
raise SegmentNotFoundException(MISSING_SEGMENT_MSG)
else:
log.error(MISSING_SEGMENT_MSG)
Expand Down

0 comments on commit 9858cab

Please sign in to comment.