diff --git a/js/grunt/phet-io/generatePhetioAPIFiles.js b/js/grunt/phet-io/generatePhetioAPIFiles.js index 83abd1b07..28821547c 100644 --- a/js/grunt/phet-io/generatePhetioAPIFiles.js +++ b/js/grunt/phet-io/generatePhetioAPIFiles.js @@ -56,8 +56,8 @@ module.exports = async ( repo, localTestingURL ) => { receivedTypes = true; await resolved(); } - else { - console.log( msg.text() ); + else if ( msg.type() === 'error' ) { + console.error( msg.text() ); } } );