Skip to content

Commit

Permalink
reduce logging (#102)
Browse files Browse the repository at this point in the history
  • Loading branch information
tt-marcel committed Mar 5, 2024
1 parent 048851b commit f122e50
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,11 @@ class GenerateReportsStep extends Step {
reportIds.each { reportId ->
listener.logger.println("- Generating ${this.generatorName} report format for report id ${reportId}...")
GenerationResult generationResult = apiClient.generateReport(reportId, generationOrder)
listener.logger.println(generationResult.toString())
String log = " -> ${generationResult.generationResult}"
if (!generationResult.generationMessage.isEmpty()) {
log += " (${generationResult.generationMessage})"
}
listener.logger.println(log)
result.add(generationResult)
}

Expand Down

0 comments on commit f122e50

Please sign in to comment.