We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7891752 commit bf8c3c7Copy full SHA for bf8c3c7
1 file changed
src/FlubuCore.WebApi/Controllers/Attributes/ApiExceptionFilter.cs
@@ -78,7 +78,7 @@ private void HandleInternalServerError(ExceptionContext context)
78
79
private void HandleHttpError(ExceptionContext context)
80
{
81
- _logger.LogWarning($"HttpError occured: {0}", context.Exception);
+ _logger.LogWarning("HttpError occured: {0}", context.Exception);
82
var httpError = (HttpError)context.Exception;
83
context.HttpContext.Response.StatusCode = (int)httpError.StatusCode;
84
if (httpError.StatusCode == HttpStatusCode.NotFound && string.IsNullOrEmpty(httpError.ErrorCode))
0 commit comments