mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-16 23:50:02 -04:00
log when oxc or scramjet internal error happens in test suite
This commit is contained in:
parent
98b5387a84
commit
e1a71bef1d
4 changed files with 25 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue