Browse Source

Fixed #692: exception message description error.

pull/696/head
Halil ibrahim Kalkan 8 years ago
parent
commit
db5dafec83
  1. 2
      framework/src/Volo.Abp.Core/Microsoft/Extensions/Logging/AbpLoggerExtensions.cs
  2. 2
      framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModule.cs

2
framework/src/Volo.Abp.Core/Microsoft/Extensions/Logging/AbpLoggerExtensions.cs

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

2
framework/src/Volo.Abp.Core/Volo/Abp/Modularity/AbpModule.cs

@ -22,7 +22,7 @@ namespace Volo.Abp.Modularity
{ {
if (_serviceConfigurationContext == null) 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; return _serviceConfigurationContext;

Loading…
Cancel
Save