Skip to content

Commit 1a95dcd

Browse files
authored
fix: improve logging when a parse error occurs (#235)
1 parent 18e2e3c commit 1a95dcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/discover.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ export function discoverTestFromFileContent(
260260
result = parse(fileItem.id, content)
261261
}
262262
catch (e) {
263-
log.error('parse error')
263+
log.error('parse error', e)
264264
return
265265
}
266266

0 commit comments

Comments
 (0)