From 30c1cf94f604e17c603b97d8763ee560654b8f7d Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal00212@users.noreply.github.com> Date: Thu, 7 Mar 2024 11:17:52 +0100 Subject: better error handling --- src/main/kotlin/Main.kt | 4 ++-- 1 file 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 Pattern.matchMatcher(text: String, consumer: Matcher.() -> T) = -- cgit