Skip to content

Commit 278c85b

Browse files
committed
chore: check name for fullStack
1 parent cb85269 commit 278c85b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/vitest/src/node/logger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ export class Logger {
301301
this.error(errorMessage)
302302
errors.forEach((err) => {
303303
this.printError(err, {
304-
fullStack: true,
304+
fullStack: (err as any).name !== 'EnvironmentTeardownError',
305305
type: (err as any).type || 'Unhandled Error',
306306
})
307307
})

0 commit comments

Comments
 (0)