From 4c3bfeb6ff3fa17521eef270339043152b71408e Mon Sep 17 00:00:00 2001 From: Petka Antonov Date: Fri, 24 May 2019 18:11:25 +0300 Subject: [PATCH] Fixes #1537 --- src/debuggability.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/debuggability.js b/src/debuggability.js index c716f4ef3..9e5f399ef 100644 --- a/src/debuggability.js +++ b/src/debuggability.js @@ -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;