Fix checking localizedString.ResourceNotFound

pull/279/head
Halil İbrahim Kalkan 7 years ago
parent fe36ede55b
commit 063ee0d6b5

@ -119,7 +119,7 @@ namespace Volo.Abp.AspNetCore.Mvc.ExceptionHandling
var stringLocalizer = _stringLocalizerFactory.Create(localizationResourceType);
var localizedString = stringLocalizer[exceptionWithErrorCode.Code];
if (!localizedString.ResourceNotFound)
if (localizedString.ResourceNotFound)
{
return;
}

Loading…
Cancel
Save