Skip to content

Commit

Permalink
Print GitHub errors without logging prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
nineinchnick authored and wendigo committed Sep 26, 2024
1 parent edc4128 commit 8a8966d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public Environment start()
.onSuccess(event -> log.info("Environment '%s' started in %s, %d attempt(s)", this, event.getElapsedTime(), event.getAttemptCount()))
.onFailure(event -> {
if (getenv("GITHUB_RUN_ID") != null) {
log.info("::error title=Failed to start environment '%s'::%s", this, event.getException());
System.out.printf("::error title=Failed to start environment '%s'::%s%n", this, event.getException());
}
log.info("Environment '%s' failed to start in attempt(s): %d: %s", this, event.getAttemptCount(), event.getException());
})
Expand Down

0 comments on commit 8a8966d

Please sign in to comment.