Browse Source

Changed log leel of 404 to Warning as it's not necessarily an error.

tags/2.0.6
Teknikode 4 years ago
parent
commit
99b0f425ac
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Teknik/Areas/Error/Controllers/ErrorController.cs

+ 1
- 1
Teknik/Areas/Error/Controllers/ErrorController.cs View File

@@ -114,7 +114,7 @@ namespace Teknik.Areas.Error.Controllers
errorMessage += " for page: " + Request.Url.AbsoluteUri;
}

Logger.WriteEntry(LogLevel.Error, errorMessage, exception);
Logger.WriteEntry(LogLevel.Warning, errorMessage, exception);

ErrorViewModel model = new ErrorViewModel();
model.Exception = exception;

Loading…
Cancel
Save