Skip to content

Commit 28e0cb8

Browse files
committed
optimize: context missing should support ignore error message, or too many error messages when unit testing
1 parent e5c7272 commit 28e0cb8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/aws-xray-sdk/context/default_context.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class DefaultContext
1212

1313
LOCAL_KEY = '_aws_xray_entity'.freeze
1414
CONTEXT_MISSING_KEY = 'AWS_XRAY_CONTEXT_MISSING'.freeze
15-
SUPPORTED_STRATEGY = %w[RUNTIME_ERROR LOG_ERROR].freeze
15+
SUPPORTED_STRATEGY = %w[RUNTIME_ERROR LOG_ERROR IGNORE_ERROR].freeze
1616
DEFAULT_STRATEGY = SUPPORTED_STRATEGY[0]
1717

1818
attr_reader :context_missing

0 commit comments

Comments
 (0)