Skip to content

Commit

Permalink
Add missing output titles (#69)
Browse files Browse the repository at this point in the history
  • Loading branch information
mrginglymus authored Jan 10, 2021
1 parent c427313 commit b1dde5e
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,15 @@ public void onFailure(final StepContext context, final Throwable t) {
.collect(Collectors.joining("\n\n"));
builder.withConclusion(ChecksConclusion.CANCELED)
.withOutput(outputBuilder
.withTitle("Cancelled")
.withText(summary)
.build());

}
else {
builder.withConclusion(ChecksConclusion.FAILURE)
.withOutput(outputBuilder
.withTitle("Failed")
.withText(t.toString()).build());
}
publish(context, builder);
Expand Down

0 comments on commit b1dde5e

Please sign in to comment.