We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 40733ff commit 27ec79dCopy full SHA for 27ec79d
src/utils/sourcemaps.rs
@@ -953,8 +953,9 @@ impl SourceMapProcessor {
953
bail!("Invalid embedded sourcemap in source file {source_url}");
954
};
955
956
- let mut sourcemap = SourceMap::from_slice(&decoded)
957
- .context("Invalid embedded sourcemap in source file {source_url}")?;
+ let mut sourcemap = SourceMap::from_slice(&decoded).with_context(|| {
+ format!("Invalid embedded sourcemap in source file {source_url}")
958
+ })?;
959
960
let debug_id = sourcemap
961
.get_debug_id()
0 commit comments