From a321456e12d54bf984199fb769d8cbcba74defc0 Mon Sep 17 00:00:00 2001 From: maliming Date: Thu, 10 Jun 2021 08:51:37 +0800 Subject: [PATCH] Update EntityNotFoundException.cs Resolve #9280 --- .../Volo/Abp/Domain/Entities/EntityNotFoundException.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Domain/Entities/EntityNotFoundException.cs b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Domain/Entities/EntityNotFoundException.cs index 85466ccf0e..c920e1e475 100644 --- a/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Domain/Entities/EntityNotFoundException.cs +++ b/framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Domain/Entities/EntityNotFoundException.cs @@ -49,7 +49,7 @@ namespace Volo.Abp.Domain.Entities public EntityNotFoundException(Type entityType, object id, Exception innerException) : base( id == null - ? $"There is no such an entity given given id. Entity type: {entityType.FullName}" + ? $"There is no such an entity given id. Entity type: {entityType.FullName}" : $"There is no such an entity. Entity type: {entityType.FullName}, id: {id}", innerException) {