Merge pull request #873 from AffinityID/u4-7352

U4-7352 Fixed exception logging in UmbracoDatabase.
This commit is contained in:
Shannon Deminick
2015-11-17 16:21:18 +01:00

View File

@@ -117,7 +117,7 @@ namespace Umbraco.Core.Persistence
public override void OnException(Exception x)
{
_logger.Info<UmbracoDatabase>(x.StackTrace);
_logger.Error<UmbracoDatabase>("Database exception occurred", x);
base.OnException(x);
}