Skip to content

Commit

Permalink
Added more debug info to the DetectFilesForCleanup() private method o…
Browse files Browse the repository at this point in the history
…f the FrmCleaner class.
  • Loading branch information
xvitaly committed Aug 31, 2024
1 parent 55b0834 commit 0f44fb7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/srcrepair/FrmCleaner.cs
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,11 @@ private void DetectFilesForCleanup(List<string> Targets, bool Recursive)
string CleanDir = Path.GetDirectoryName(DirMs);
string CleanMask = Path.GetFileName(DirMs);

if (!Directory.Exists(CleanDir)) { continue; }
if (!Directory.Exists(CleanDir))
{
Logger.Warn(DebugStrings.AppDbgExClnDirectoryDoesNotExist, CleanDir);
continue;
}

try
{
Expand Down

0 comments on commit 0f44fb7

Please sign in to comment.