We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a52ba5f commit dfdd247Copy full SHA for dfdd247
plugins/react-native.js
@@ -64,8 +64,9 @@ module.exports = function (Raven) {
64
data.culprit = normalizeUrl(data.culprit);
65
}
66
67
- if (data.stacktrace && data.stacktrace.frames && data.stacktrace.frames.length) {
68
- data.stacktrace.frames.forEach(function (frame) {
+ if (data.exception) {
+ // if data.exception exists, all of the other keys are guaranteed to exist
69
+ data.exception.values[0].stacktrace.frames.forEach(function (frame) {
70
frame.filename = normalizeUrl(frame.filename);
71
});
72
0 commit comments