File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -235,14 +235,13 @@ def process_profile_task(
235235 set_span_attribute ("profile.stacks.processed" , len (profile ["profile" ]["stacks" ]))
236236 set_span_attribute ("profile.frames.processed" , len (profile ["profile" ]["frames" ]))
237237
238- if options .get ("profiling.stack_trace_rules.enabled" ):
239- try :
240- with metrics .timer ("process_profile.apply_stack_trace_rules" ):
241- rules_config = project .get_option ("sentry:grouping_enhancements" )
242- if rules_config is not None and rules_config != "" :
243- apply_stack_trace_rules_to_profile (profile , rules_config )
244- except Exception as e :
245- sentry_sdk .capture_exception (e )
238+ try :
239+ with metrics .timer ("process_profile.apply_stack_trace_rules" ):
240+ rules_config = project .get_option ("sentry:grouping_enhancements" )
241+ if rules_config is not None and rules_config != "" :
242+ apply_stack_trace_rules_to_profile (profile , rules_config )
243+ except Exception as e :
244+ sentry_sdk .capture_exception (e )
246245
247246 if not _process_vroomrs_profile (profile , project ):
248247 return
You can’t perform that action at this time.
0 commit comments