-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(derive_code_mapping): Pass platform around the code base #86026
Conversation
This is in preparation for the Java in-app work.
def __init__(self, frame: Mapping[str, Any]) -> None: | ||
# XXX: In the next PR, we will use more than just the filename | ||
def __init__(self, frame: Mapping[str, Any], platform: str | None = None) -> None: | ||
# XXX: platform will be used in a following PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Soon 😄
@@ -37,9 +37,6 @@ def get_stacktraces(data: NodeData | dict[str, Any]) -> list[dict[str, Any]]: | |||
if exceptions: | |||
return [e["stacktrace"] for e in exceptions if get_path(e, "stacktrace", "frames")] | |||
|
|||
stacktrace = data.get("stacktrace") | |||
if stacktrace and stacktrace.get("frames"): | |||
logger.warning("Investigate if we use this code path in production.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This warning is nowhere to be found in Sentry, thus, simplifying this.
Suspect IssuesThis pull request was deployed and Sentry observed the following issues:
Did you find this useful? React with a 👍 or 👎 |
This is in preparation for the Java in-app work.