Skip to content

Commit bf8c3c7

Browse files
committed
fixed error logs
1 parent 7891752 commit bf8c3c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FlubuCore.WebApi/Controllers/Attributes/ApiExceptionFilter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private void HandleInternalServerError(ExceptionContext context)
7878

7979
private void HandleHttpError(ExceptionContext context)
8080
{
81-
_logger.LogWarning($"HttpError occured: {0}", context.Exception);
81+
_logger.LogWarning("HttpError occured: {0}", context.Exception);
8282
var httpError = (HttpError)context.Exception;
8383
context.HttpContext.Response.StatusCode = (int)httpError.StatusCode;
8484
if (httpError.StatusCode == HttpStatusCode.NotFound && string.IsNullOrEmpty(httpError.ErrorCode))

0 commit comments

Comments
 (0)