Commit d116c6d3 authored by Jonas Waeber's avatar Jonas Waeber
Browse files

Add some error message prefix.

parent b5ef1f0d
Pipeline #22937 passed with stages
in 4 minutes and 40 seconds
...@@ -180,7 +180,7 @@ class KafkaTopology( ...@@ -180,7 +180,7 @@ class KafkaTopology(
Report( Report(
key, key,
ReportStatus.fatal, ReportStatus.fatal,
value.errorMessages.joinToString("\n"), "Error Messages: " + value.errorMessages.joinToString("\n"),
Service.step Service.step
).toJson() ).toJson()
} }
...@@ -204,7 +204,7 @@ class KafkaTopology( ...@@ -204,7 +204,7 @@ class KafkaTopology(
Report( Report(
key, key,
ReportStatus.fatal, ReportStatus.fatal,
value.errorMessages.joinToString("\n"), "Error Messages: " + value.errorMessages.joinToString("\n"),
Service.step Service.step
).toJson() ).toJson()
} }
...@@ -232,7 +232,7 @@ class KafkaTopology( ...@@ -232,7 +232,7 @@ class KafkaTopology(
Report( Report(
result.first, result.first,
if (builder.isFatal) ReportStatus.fatal else ReportStatus.warning, if (builder.isFatal) ReportStatus.fatal else ReportStatus.warning,
result.third.joinToString("\n"), "Error Messages: " + result.third.joinToString("\n"),
Service.step Service.step
) )
) )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment