summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-07 11:17:52 +0100
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-03-07 11:17:52 +0100
commit30c1cf94f604e17c603b97d8763ee560654b8f7d (patch)
tree15f7229631e217fce498c4d51501478fc76fec38
parent824b187c164f08a15a900f7d757996277a04025d (diff)
downloadSkyHanniChangelogBuilder-30c1cf94f604e17c603b97d8763ee560654b8f7d.tar.gz
SkyHanniChangelogBuilder-30c1cf94f604e17c603b97d8763ee560654b8f7d.tar.bz2
SkyHanniChangelogBuilder-30c1cf94f604e17c603b97d8763ee560654b8f7d.zip
better error handling
-rw-r--r--src/main/kotlin/Main.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/kotlin/Main.kt b/src/main/kotlin/Main.kt
index dc5304a..89ec0d2 100644
--- a/src/main/kotlin/Main.kt
+++ b/src/main/kotlin/Main.kt
@@ -169,13 +169,13 @@ private fun findAllChanges(
}
}
println("")
- println("found $errors errors")
+ println("Found $errors PRs with errors")
+ println("Loaded $done PRs correctly")
if (errors > 0) {
if (hideWhenError) {
exitProcess(-1)
}
}
- println("Loaded $done PRs")
}
inline fun <T> Pattern.matchMatcher(text: String, consumer: Matcher.() -> T) =