diff options
-rw-r--r-- | devtools/client/framework/source-map-worker.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/devtools/client/framework/source-map-worker.js b/devtools/client/framework/source-map-worker.js index b6ac2c121f..ec269778b8 100644 --- a/devtools/client/framework/source-map-worker.js +++ b/devtools/client/framework/source-map-worker.js @@ -87,7 +87,8 @@ async function _resolveAndFetch(generatedSource) : SourceMapConsumer { // Fetch the sourcemap over the network and create it. const sourceMapURL = _resolveSourceMapURL(generatedSource); const fetched = await fetch( - sourceMapURL, { loadFromCache: false } + sourceMapURL, { loadFromCache: false, + redirect: error } ); // Create the source map and fix it up. |