Skip to content

Commit

Permalink
add url to error reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Apr 3, 2020
1 parent 3e7d3e2 commit 8f4c78d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/grunt/phet-io/generatePhetioAPIFiles.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ module.exports = async ( repo, localTestingURL ) => {
await resolved();
}
else if ( msg.type() === 'error' ) {
console.error( msg.text() );
const location = msg.location ? msg.location().url : '';
console.error( 'Error from sim:', msg.text(), location );
}
} );

Expand Down

0 comments on commit 8f4c78d

Please sign in to comment.