Skip to content

Commit

Permalink
fix: logging
Browse files Browse the repository at this point in the history
  • Loading branch information
heowc committed Nov 17, 2024
1 parent 30743e5 commit d2adf62
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion it/cycled-gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ if (project.hasProperty('localPlugin')) {
var failure = false
try {
tasks.heoReport.exec()
} catch (Exception e) {
} catch (Exception ignored) {
println("heoReport task failed")
failure = true
}
if (!failure) {
Expand Down
1 change: 1 addition & 0 deletions it/gradle-plugin/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ if (project.hasProperty('localPlugin')) {
doLast {
try {
tasks.heoReport.exec()
println("heoReport task successful")
} catch (Exception e) {
throw new IllegalStateException("The task did not succeed", e)
}
Expand Down

0 comments on commit d2adf62

Please sign in to comment.