Skip to content
This repository has been archived by the owner on Oct 23, 2023. It is now read-only.

ref: Emit transaction instead of culprit #458

Merged
merged 1 commit into from
May 15, 2018
Merged

Conversation

jan-auer
Copy link
Member

@jan-auer jan-auer commented May 15, 2018

By default, we emit a transaction now instead of the culprit.

@jan-auer jan-auer requested a review from kamilogorek May 15, 2018 10:14
@jan-auer jan-auer self-assigned this May 15, 2018
if (!kwargs.transaction && !kwargs.culprit) {
for (var n = frames.length - 1; n >= 0; n--) {
if (frames[n].in_app) {
kwargs.transaction = utils.getTransaction(frames[n]);
Copy link
Member Author

Choose a reason for hiding this comment

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

Changed the logic here to only include a transaction if the user hasn't set a culprit manually.
@mitsuhiko should we add the transaction always - even if a manual culprit is given?

@jan-auer jan-auer merged commit f64ad74 into master May 15, 2018
@jan-auer jan-auer deleted the ref/transaction branch May 15, 2018 10:42
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants