Skip to content
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

fix: negative line number #994

Merged
merged 3 commits into from
May 12, 2021
Merged

fix: negative line number #994

merged 3 commits into from
May 12, 2021

Conversation

bruno-garcia
Copy link
Member

@bruno-garcia bruno-garcia commented May 12, 2021

The API docs state 0 if no line is available but on Unity's Mono it can return -1:

Sentry errors with:

    {
      "type": "invalid_data",
      "name": "exception.values.0.stacktrace.frames.2.lineno",
      "value": -1,
      "reason": "expected an unsigned integer"
    }

@bruno-garcia bruno-garcia enabled auto-merge (squash) May 12, 2021 23:29
@bruno-garcia bruno-garcia merged commit 662c76f into main May 12, 2021
@bruno-garcia bruno-garcia deleted the fix/negative-line-number branch May 12, 2021 23:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant