Skip to content

Commit

Permalink
wip: add error detail
Browse files Browse the repository at this point in the history
  • Loading branch information
bonyuta0204 committed Jan 17, 2024
1 parent 6a4bae1 commit c3134f4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vitest/src/node/error.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ interface PrintErrorOptions {
}

export async function printError(error: unknown, project: WorkspaceProject | undefined, options: PrintErrorOptions) {
console.log('[printError] error:', error)

Check failure on line 26 in packages/vitest/src/node/error.ts

View workflow job for this annotation

GitHub Actions / lint

Unexpected console statement
const { showCodeFrame = true, fullStack = false, type } = options
const logger = options.logger
let e = error as ErrorWithDiff
Expand Down

0 comments on commit c3134f4

Please sign in to comment.