Browse Source

User should know which file has caused exception

Piotr Czajkowski 1 year ago
parent
commit
3172f30f6c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      ProcessFiles/ProcessFiles.cs

+ 1 - 1
ProcessFiles/ProcessFiles.cs

@@ -85,7 +85,7 @@ namespace ProcessFiles
             }
             catch (Exception e)
             {
-                _errors.Add(e.ToString());
+                _errors.Add($"{path}:\n{e}");
             }
         }