Skip to content

Commit

Permalink
Fixes #1537
Browse files Browse the repository at this point in the history
  • Loading branch information
petkaantonov committed May 24, 2019
1 parent 65a7e7e commit 4c3bfeb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/debuggability.js
Expand Up @@ -705,8 +705,8 @@ function parseLineInfo(line) {

function setBounds(firstLineError, lastLineError) {
if (!longStackTracesIsSupported()) return;
var firstStackLines = firstLineError.stack.split("\n");
var lastStackLines = lastLineError.stack.split("\n");
var firstStackLines = (firstLineError.stack || "").split("\n");
var lastStackLines = (lastLineError.stack || "").split("\n");
var firstIndex = -1;
var lastIndex = -1;
var firstFileName;
Expand Down

0 comments on commit 4c3bfeb

Please sign in to comment.