Skip to content

Commit

Permalink
Merge pull request #287 from pietermees/main
Browse files Browse the repository at this point in the history
Print exception stack trace for bad branch
  • Loading branch information
dirkgroot committed Aug 31, 2023
2 parents b867cc9 + 532f9da commit 3c5f7b6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,8 @@ class GenerateSiteCommand : Subcommand(
createStructurizrWorkspace(workspaceFileInRepo)
true
} catch (e: Exception) {
println("Bad Branch $branch")
val errorMessage = e.message ?: "Unknown error"
println("Bad Branch $branch: $errorMessage")
false
}
}
Expand Down

0 comments on commit 3c5f7b6

Please sign in to comment.