Remove LogError<T> from LoggerExtensions

This commit is contained in:
Nikolaj
2020-09-16 09:40:49 +02:00
parent e870823e81
commit dda6fb12a3
66 changed files with 115 additions and 195 deletions

View File

@@ -162,7 +162,7 @@ namespace Umbraco.Web.BackOffice.Controllers
{
//ensure it's not listening
index.IndexOperationComplete -= Indexer_IndexOperationComplete;
_logger.LogError<ExamineManagementController>(ex, "An error occurred rebuilding index");
_logger.LogError(ex, "An error occurred rebuilding index");
var response = new ConflictObjectResult("The index could not be rebuilt at this time, most likely there is another thread currently writing to the index. Error: {ex}");
HttpContext.SetReasonPhrase("Could Not Rebuild");