U4-7352 Fixed exception logging in UmbracoDatabase.

This commit is contained in:
Andrey Shchekin
2015-10-30 11:24:18 +13:00
parent bbe4a87784
commit 9498bc4bfd

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);
}