Skip to content

Commit

Permalink
[Host.Serialization] Introduce multi-targeting for net8, net6 and net…
Browse files Browse the repository at this point in the history
…standard #211

Signed-off-by: Tomasz Maruszak <[email protected]>
  • Loading branch information
zarusz committed Feb 4, 2024
1 parent 813734e commit 0449c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/SlimMessageBus.Host.Kafka/KafkaMessageBus.cs
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ protected override async Task ProduceToTransport(object message, string path, by
var deliveryResult = await task.ConfigureAwait(false);
if (deliveryResult.Status == PersistenceStatus.NotPersisted)
{
throw new ProducerMessageBusException($"Error while publish message {message} of type {messageType.Name} to topic {path}. Kafka persistence status: {deliveryResult.Status}");
throw new ProducerMessageBusException($"Error while publish message {message} of type {messageType?.Name} to topic {path}. Kafka persistence status: {deliveryResult.Status}");
}

// log some debug information
Expand Down

0 comments on commit 0449c0f

Please sign in to comment.