Skip to content

Send stacktrace with events, not just exceptions - #1123

Merged
ste93cry merged 2 commits into
getsentry:masterfrom
mfb:send-stacktrace
Nov 2, 2020
Merged

ste93cry merged 2 commits into
getsentry:masterfrom
mfb:send-stacktrace

Conversation

@mfb

@mfb mfb commented Nov 1, 2020

Copy link
Copy Markdown
Contributor

I noticed that if I set a stacktrace on an event, it is not sent to Sentry. This patch should resolve the issue.

@ste93cry ste93cry left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Can you please add a CHANGELOG entry and also a test case for this?

Comment thread src/Serializer/PayloadSerializer.php Outdated
@ste93cry ste93cry added this to the 3.0 milestone Nov 1, 2020
@mfb
mfb requested a review from ste93cry November 1, 2020 19:05
@ste93cry

ste93cry commented Nov 2, 2020

Copy link
Copy Markdown
Contributor

I pushed a commit to the master branch to solve the broken CI, can you please rebase and try again if it works?

@mfb
mfb force-pushed the send-stacktrace branch from a791067 to f159b3f Compare November 2, 2020 10:58
@mkopinsky

Copy link
Copy Markdown

We've found (on an old version of the SDK - ^1.10) that for fatal errors/OOMs, sentry only gets the error but not the stack trace. Does this PR fix that? (Has it already been fixed since ^1.10?)

@Jean85

Jean85 commented Nov 9, 2020

Copy link
Copy Markdown
Contributor

This is on a completely different version (3.0), the issue is completely unrelated.

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.

4 participants