mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-12 14:00:01 -04:00
update things
This commit is contained in:
parent
fe3c225839
commit
8b97751692
3 changed files with 191 additions and 185 deletions
|
@ -46,9 +46,9 @@ function rewriteJsWrapper(
|
|||
}
|
||||
} catch (err) {
|
||||
const err1 = err as Error;
|
||||
console.error("failed rewriting js for", source, err1, input);
|
||||
console.warn("failed rewriting js for", source, err1, input);
|
||||
err1.message = `failed rewriting js for "${source}": ${err1.message}`;
|
||||
throw err1;
|
||||
return input;
|
||||
}
|
||||
const after = performance.now();
|
||||
const { js, errors, duration } = out;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue