reportActivity: add topic empty

This commit is contained in:
nick 2024-10-17 17:18:52 +03:00
parent 12c35d903a
commit 2d4a4ad991

View File

@ -1106,7 +1106,7 @@ public class DefaultTransportService extends TransportActivityManager implements
tpi = partitionService.resolve(ServiceType.TB_CORE, tenantId, entityId);
} catch (TenantNotFoundException e) {
log.trace("Failed to send message to core. Tenant with ID [{}] not found in the database. Message delivery aborted.", tenantId, e);
tpi = TopicPartitionInfo.builder().topic(e.getMessage()).build();
tpi = TopicPartitionInfo.builder().topic("").build();
if (callback != null) {
callback.onError(e);
}