Fixed #692: exception message description error.

pull/696/head
Halil ibrahim Kalkan 7 years ago
parent 71b573bf60
commit db5dafec83

@ -52,7 +52,7 @@ namespace Microsoft.Extensions.Logging
logger.LogTrace(exception, message);
break;
default: // LogLevel.Debug || LogLevel.None
logger.LogDebug(message);
logger.LogDebug(exception, message);
break;
}
}

@ -22,7 +22,7 @@ namespace Volo.Abp.Modularity
{
if (_serviceConfigurationContext == null)
{
throw new AbpException($"{nameof(ServiceConfigurationContext)} is only available in the {nameof(PreConfigureServices)}, {nameof(PreConfigureServices)} and {nameof(PreConfigureServices)} methods.");
throw new AbpException($"{nameof(ServiceConfigurationContext)} is only available in the {nameof(ConfigureServices)}, {nameof(PreConfigureServices)} and {nameof(PostConfigureServices)} methods.");
}
return _serviceConfigurationContext;

Loading…
Cancel
Save