Skip to content

Commit

Permalink
fix: move log
Browse files Browse the repository at this point in the history
  • Loading branch information
MMMalik committed Apr 23, 2021
1 parent 1561e78 commit 30fe94d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/e2e-runner.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ function executeReactTestSuite( sample ) {
await runNightwatchTests( sample );
break;
} catch ( error ) {
log.error( `Error occurred, retrying... Tries left: ${ tries }` );
if ( tries ) {
log.error( `Error occurred, retrying... Tries left: ${ tries }` );
await waitFor( 5000 );
} else {
throw error;
Expand Down

0 comments on commit 30fe94d

Please sign in to comment.