Skip to content

Commit

Permalink
Fix misleading log and promote it to info
Browse files Browse the repository at this point in the history
  • Loading branch information
ScrubN committed Jun 16, 2024
1 parent 79e8d8a commit 611756e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion TwitchDownloaderCore/TwitchHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -881,7 +881,10 @@ public static FileInfo ClaimFile(string path, Func<FileInfo, FileInfo> fileAlrea
throw new FileNotFoundException("No destination file was provided, aborting.");
}

logger.LogVerbose($"{path} will be renamed to {fileInfo.FullName}.");
if (path != fileInfo.FullName)
{
logger.LogInfo($"'{path}' will be renamed to '{fileInfo.FullName}'");
}
}
}

Expand Down

0 comments on commit 611756e

Please sign in to comment.