Change Warn to LogWarning

This commit is contained in:
Nikolaj
2020-09-14 10:17:32 +02:00
parent d7e3bce741
commit a1ecc4a5c9
79 changed files with 152 additions and 152 deletions

View File

@@ -317,7 +317,7 @@ namespace Umbraco.Core.Persistence.Repositories.Implement
if (language != null) return language;
// this is an anomaly, the service/repo should ensure it cannot happen
Logger.Warn<LanguageRepository>("There is no default language. Fix this anomaly by editing the language table in database and setting one language as the default language.");
Logger.LogWarning<LanguageRepository>("There is no default language. Fix this anomaly by editing the language table in database and setting one language as the default language.");
// still, don't kill the site, and return "something"