mirror of
https://github.com/swc-project/swc.git
synced 2024-10-05 04:39:06 +03:00
feat(es): Provide more information when loading of input source map failed (#7249)
This commit is contained in:
parent
8e5cb60183
commit
f0e3b1d09a
@ -339,7 +339,12 @@ impl Compiler {
|
||||
filename.display()
|
||||
));
|
||||
if !map_path.exists() {
|
||||
bail!("failed to find input source map file")
|
||||
bail!(
|
||||
"failed to find input source map file {:?} in \
|
||||
{:?} file",
|
||||
map_path.display(),
|
||||
filename.display()
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user