Skip to content

Commit

Permalink
Merge pull request #265 from montehurd/log-error
Browse files Browse the repository at this point in the history
Log error
  • Loading branch information
montehurd authored Apr 3, 2024
2 parents 6c7486b + cdd0ba8 commit 1766869
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pixel.js
Original file line number Diff line number Diff line change
Expand Up @@ -332,6 +332,7 @@ async function processCommand( type, opts, runSilently = false ) {
type, group, config.paths.html_report, runSilently || process.env.NONINTERACTIVE
);
}, async ( /** @type {Error} */ err ) => {
console.error( err );
// Don't check error message if caller asked us not to.
if ( err.message.includes( '130' ) ) {
// If user ends subprocess with a sigint, exit early.
Expand Down

0 comments on commit 1766869

Please sign in to comment.