Browse Source

Update EntityNotFoundException.cs

Resolve #9280
pull/9281/head
maliming 5 years ago
committed by GitHub
parent
commit
a321456e12
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      framework/src/Volo.Abp.ExceptionHandling/Volo/Abp/Domain/Entities/EntityNotFoundException.cs

2
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)
{

Loading…
Cancel
Save