diff --git a/app/app.html b/app/app.html
index 937b4035c2..b3eebbd832 100644
--- a/app/app.html
+++ b/app/app.html
@@ -33,6 +33,11 @@
}
};
+ if (!data.exception) {
+ // Probably a regular console.error, etc
+ return data;
+ }
+
data.exception.values[0].stacktrace.frames.forEach(function (frame) {
frame.filename = normalize(frame.filename);
});
@@ -57,28 +62,6 @@
}());
-
-