Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sourcemapped-stacktrace.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ function(source_map_consumer) {
}

if (traceFormat === "chrome") {
regex = /^ +at.+\((.*):([0-9]+):([0-9]+)/;
regex = /^ +at.* +\(?(.*):([0-9]+):([0-9]+)/;
expected_fields = 4;
// (skip first line containing exception message)
skip_lines = 1;
Expand Down Expand Up @@ -249,7 +249,7 @@ function(source_map_consumer) {
};

function origNameChrome(origLine) {
var match = / +at +([^ ]*).*/.exec(origLine);
var match = / +at +([^ ]*) +.*/.exec(origLine);
return match && match[1];
}

Expand Down