Skip to content

Commit 8815f85

Browse files
author
singhvi
committed
1 parent 7712308 commit 8815f85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stacktrace-gps.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -283,15 +283,15 @@
283283
sourceMappingURL = base + sourceMappingURL;
284284
}
285285

286-
this._get(sourceMappingURL).then(function(sourceMap) {
286+
return this._get(sourceMappingURL).then(function(sourceMap) {
287287
if (typeof sourceMap === 'string') {
288288
sourceMap = _parseJson(sourceMap.replace(/^\)\]\}'/, ''));
289289
}
290290
if (typeof sourceMap.sourceRoot === 'undefined') {
291291
sourceMap.sourceRoot = base;
292292
}
293293

294-
_extractLocationInfoFromSourceMap(stackframe, sourceMap, sourceCache)
294+
return _extractLocationInfoFromSourceMap(stackframe, sourceMap, sourceCache)
295295
.then(resolve)['catch'](function() {
296296
resolve(stackframe);
297297
});

0 commit comments

Comments
 (0)