raven
Advanced tools
Comparing version 2.6.1 to 2.6.2
# Changelog | ||
## 2.6.2 - 2018-05-17 | ||
- ref: Emit transaction instead of culprit (#458) | ||
## 2.6.1 - 2018-05-10 | ||
@@ -4,0 +8,0 @@ |
@@ -48,6 +48,8 @@ 'use strict'; | ||
for (var n = frames.length - 1; n >= 0; n--) { | ||
if (frames[n].in_app) { | ||
kwargs.culprit = kwargs.culprit || utils.getCulprit(frames[n]); | ||
break; | ||
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]); | ||
break; | ||
} | ||
} | ||
@@ -54,0 +56,0 @@ } |
@@ -209,3 +209,3 @@ 'use strict'; | ||
module.exports.getCulprit = function getCulprit(frame) { | ||
module.exports.getTransaction = function getTransaction(frame) { | ||
if (frame.module || frame.function) { | ||
@@ -212,0 +212,0 @@ return (frame.module || '?') + ' at ' + (frame.function || '?'); |
@@ -12,3 +12,3 @@ { | ||
], | ||
"version": "2.6.1", | ||
"version": "2.6.2", | ||
"repository": "git://github.com/getsentry/raven-node.git", | ||
@@ -15,0 +15,0 @@ "license": "BSD-2-Clause", |
Sorry, the diff of this file is not supported yet
69177
1416