Skip to content

Commit

Permalink
trigger just one error message on kafka on exception
Browse files Browse the repository at this point in the history
  • Loading branch information
Battlestad committed Oct 22, 2024
1 parent 52077e9 commit 5ca0276
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ private Mono<DispatchResult> handleDispatchError(
String logMessage,
InstanceDispatchingErrorProducerService instanceDispatchingErrorProducerService
) {
String errorMessage = (e != null && e.getMessage() != null) ? e.getMessage() : "test";
String errorMessage = (e != null && e.getMessage() != null) ? e.getMessage() : "Unknown error occurred test";

log.error("{}: {}", logMessage, errorMessage, e);

Expand Down

0 comments on commit 5ca0276

Please sign in to comment.