Skip to content

Commit 799c564

Browse files
authored
test-browser: improve unhandled error debugging (#8826)
* test-browser: improve unhandled error debugging * Include message+stack+cause --------- Co-authored-by: alxndrsn <alxndrsn>
1 parent 7b23c81 commit 799c564

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

bin/test-browser.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,8 @@ async function startTest() {
259259
}
260260

261261
console.log('Unhandled error in test page:', err);
262+
console.log(' stack:', err.stack);
263+
console.log(' cause:', err.cause);
262264
process.exit(1);
263265
});
264266

0 commit comments

Comments
 (0)