Explorar o código

Add warning message to collection resolution when not found

Eric Reed %!s(int64=12) %!d(string=hai) anos
pai
achega
4268800589
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      MediaBrowser.Controller/IO/FileData.cs

+ 4 - 0
MediaBrowser.Controller/IO/FileData.cs

@@ -64,6 +64,10 @@ namespace MediaBrowser.Controller.IO
 
                         dict[data.FullName] = data;
                     }
+                    else
+                    {
+                        logger.Warn("Cannot add unavailble/non-existent location {0}", data.FullName);
+                    }
                 }
                 else if (flattenFolderDepth > 0 && isDirectory)
                 {