log when oxc or scramjet internal error happens in test suite

This commit is contained in:
wearrrrr 2024-10-21 22:55:44 -05:00
parent 98b5387a84
commit e1a71bef1d
4 changed files with 25 additions and 2 deletions

View file

@ -328,7 +328,7 @@ export class ScramjetClient {
if ((err.stack as any) instanceof Object) {
//@ts-expect-error i'm not going to explain this
err.stack = err.stack.stack;
console.error("ERROR FROM SCRMAJET INTERNALS", err);
console.error("ERROR FROM SCRAMJET INTERNALS", err);
} else {
throw err;
}