Skip to content

Commit c23694c

Browse files
committed
Fixed code smell relating to LogError
1 parent 8e2d470 commit c23694c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi.Hidi/OpenApiService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ private static void LogErrors(ILogger logger, ReadResult result)
567567
{
568568
foreach (var error in context.Errors)
569569
{
570-
logger.LogError(error.ToString());
570+
logger.LogError($"Detected error during parsing: {error}",error.ToString());
571571
}
572572
}
573573
}

0 commit comments

Comments
 (0)