|
|
@ -18,6 +18,9 @@ function maybeTrim(value) {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function parseLocation(locationString) {
|
|
|
|
function parseLocation(locationString) {
|
|
|
|
|
|
|
|
if (locationString === "<anonymous>") {
|
|
|
|
|
|
|
|
return { anonymous: true };
|
|
|
|
|
|
|
|
} else {
|
|
|
|
let match = positionRegex.exec(locationString);
|
|
|
|
let match = positionRegex.exec(locationString);
|
|
|
|
|
|
|
|
|
|
|
|
if (match != null) {
|
|
|
|
if (match != null) {
|
|
|
@ -29,6 +32,7 @@ function parseLocation(locationString) {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
throw new Error(`Could not parse location from string: ${locationString}`);
|
|
|
|
throw new Error(`Could not parse location from string: ${locationString}`);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
function extractFrames(stack) {
|
|
|
|
function extractFrames(stack) {
|
|
|
|