Skip to content

Commit f7d3fed

Browse files
committed
chore: IDE warning - Log event messages should be fragments, not sentences. Avoid a trailing period/full stop.
1 parent a77c494 commit f7d3fed

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/PrivatePdfConverter/Services/FileService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ public static bool IsImage(this string? extension)
3030

3131
if (width == 0 || height == 0)
3232
{
33-
Log.Logger.Error("Image '{Path}' has invalid dimensions {Width}x{Height}.", path, width, height);
33+
Log.Logger.Error("Image '{Path}' has invalid dimensions {Width}x{Height}", path, width, height);
3434
return null;
3535
}
3636

3737
if (width > MaxWidth || height > MaxHeight || area > MaxArea)
3838
{
3939
Log.Logger.Error(
40-
"Image '{Path}' exceeds the supported limits ({Width}x{Height}, area {Area}).",
40+
"Image '{Path}' exceeds the supported limits ({Width}x{Height}, area {Area})",
4141
path,
4242
width,
4343
height,

0 commit comments

Comments
 (0)