mirror of
https://github.com/scratchfoundation/scratch-render.git
synced 2025-07-22 20:18:47 -04:00
log error.message
This commit is contained in:
parent
562e535a13
commit
0ce50b6cd6
2 changed files with 2 additions and 2 deletions
test/integration
|
@ -106,6 +106,6 @@ const runFile = async (file, action, page, script) => {
|
|||
})().catch(err => {
|
||||
// Handle promise rejections by exiting with a nonzero code to ensure that tests don't erroneously pass
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(err);
|
||||
console.error(err.message);
|
||||
process.exit(1);
|
||||
});
|
||||
|
|
|
@ -120,6 +120,6 @@ const testFile = (file, page) => test(file, async t => {
|
|||
})().catch(err => {
|
||||
// Handle promise rejections by exiting with a nonzero code to ensure that tests don't erroneously pass
|
||||
// eslint-disable-next-line no-console
|
||||
console.error(err);
|
||||
console.error(err.message);
|
||||
process.exit(1);
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue