Skip to content

Commit

Permalink
fix(symx): Moved log message (#83479)
Browse files Browse the repository at this point in the history
Moved the logging introduced with
(#83381) to a different location
since it still does not show in the logs.
  • Loading branch information
tobias-wilfert authored Jan 15, 2025
1 parent 7fb3e85 commit eccb7ee
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions src/sentry/lang/native/processing.py
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,16 @@ def emit_apple_symbol_stats(apple_symbol_stats, data):
# This is done to temporally collect information about the events for which symx is not working correctly.
if in_random_rollout("symbolicate.symx-logging-rate") and os_name and os_version:
os_description = os_name + str(os_version)
logger.info(
"Failed to find symbols using symx",
extra={
"id": data.get("event_id"),
"modules": old,
"os_description": os_description,
"os_filter": options.get("symbolicate.symx-os-description-list"),
},
)
if os_description in options.get("symbolicate.symx-os-description-list"):
logger.info(
"Failed to find symbols using symx",
extra={"id": data.get("event_id"), "modules": old},
)
with sentry_sdk.isolation_scope() as scope:
scope.set_context(
"Event Info", {"id": data.get("event_id"), "modules": str(old)}
Expand Down

0 comments on commit eccb7ee

Please sign in to comment.