Jelajahi Sumber

User should know which file has caused exception

Piotr Czajkowski 1 tahun lalu
induk
melakukan
3172f30f6c
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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}");
             }
         }