Skip to content

Commit

Permalink
DevTools: Sourcemap failure shouldn't open console drawer.
Browse files Browse the repository at this point in the history
BUG=624038,497094

Review-Url: https://codereview.chromium.org/2169213002
Cr-Commit-Position: refs/heads/master@{#407079}
  • Loading branch information
paulirish authored and Commit bot committed Jul 22, 2016
1 parent 840152b commit 3da8d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front_end/sdk/SourceMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ WebInspector.TextSourceMap.load = function(sourceMapURL, compiledURL)
callback(new WebInspector.TextSourceMap(compiledURL, baseURL, payload));
} catch (e) {
console.error(e);
WebInspector.console.error("Failed to parse SourceMap: " + sourceMapURL);
WebInspector.console.warn("DevTools failed to parse SourceMap: " + sourceMapURL);
callback(null);
}
}
Expand Down

0 comments on commit 3da8d7c

Please sign in to comment.