Skip to content

Commit

Permalink
log message please, #219
Browse files Browse the repository at this point in the history
  • Loading branch information
zepumph committed Oct 30, 2024
1 parent 2569553 commit d293bda
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions js/node-client/runNextTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ module.exports = async function( options ) {
}
}

winston.error( 'FAILED TO RUN TEST' );
testInfo && winston.error( await sendTestResult( `Tried to run ${attemptCount} times, never completed, failure: ${lastFailure}`, testInfo, false, options ) );
const message = `Tried to run ${attemptCount} times, never completed, failure: ${lastFailure}`;
winston.error( `FAILED TO RUN TEST, ${message}` );
testInfo && winston.error( await sendTestResult( message, testInfo, false, options ) );
return false;
};

0 comments on commit d293bda

Please sign in to comment.