Change Warn to LogWarning
This commit is contained in:
@@ -53,7 +53,7 @@ namespace Umbraco.Core.Persistence
|
||||
catch (DbException e)
|
||||
{
|
||||
// Don't swallow this error, the exception is super handy for knowing "why" its not available
|
||||
Current.Logger.Warn<IDbConnection>(e, "Configured database is reporting as not being available.");
|
||||
Current.Logger.LogWarning<IDbConnection>(e, "Configured database is reporting as not being available.");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user