Skip to content

Commit

Permalink
fix: improve logging when a parse error occurs (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
ffMathy authored Feb 18, 2024
1 parent 18e2e3c commit 1a95dcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/discover.ts
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ export function discoverTestFromFileContent(
result = parse(fileItem.id, content)
}
catch (e) {
log.error('parse error')
log.error('parse error', e)
return
}

Expand Down

0 comments on commit 1a95dcd

Please sign in to comment.