Ver código fonte

Add warning message to collection resolution when not found

Eric Reed 12 anos atrás
pai
commit
4268800589
1 arquivos alterados com 4 adições e 0 exclusões
  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)
                 {