mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
fix(es): Remove useless message (#6882)
This commit is contained in:
parent
1bf2b2ddbf
commit
9301703311
@ -414,9 +414,7 @@ impl Compiler {
|
||||
})?;
|
||||
|
||||
if error {
|
||||
return Err(anyhow::anyhow!("Syntax Error").context(
|
||||
"error was recoverable, but proceeding would result in wrong codegen",
|
||||
));
|
||||
return Err(anyhow::anyhow!("Syntax Error"));
|
||||
}
|
||||
|
||||
Ok(program)
|
||||
|
Loading…
Reference in New Issue
Block a user