update things

This commit is contained in:
Percs 2025-02-02 23:13:33 -06:00
parent fe3c225839
commit 8b97751692
3 changed files with 191 additions and 185 deletions

View file

@ -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;