test: improve error logging for inspector test · nodejs/node@1a88c3e · GitHub
Skip to content

Commit 1a88c3e

Browse files
TrottMylesBorins
authored andcommitted
test: improve error logging for inspector test
If JSON.parse() fails, print a message showing the JSON that failed to parse. This is to help with debugging a current test failure on CI. PR-URL: #14508 Ref: #14507 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com>
1 parent 95a95cc commit 1a88c3e

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

test/inspector/inspector-helper.js

Lines changed: 9 additions & 2 deletions

0 commit comments

Comments
 (0)