mirror of
				https://github.com/advplyr/audiobookshelf.git
				synced 2025-10-27 11:18:14 +01:00 
			
		
		
		
	Log full path when warning about empty root
This commit is contained in:
		
							parent
							
								
									7fa08449de
								
							
						
					
					
						commit
						22900a3f67
					
				@ -144,7 +144,7 @@ async function scanFolder(libraryMediaType, folder, serverSettings = {}) {
 | 
			
		||||
  var libraryItemGrouping = groupFileItemsIntoLibraryItemDirs(libraryMediaType, fileItems)
 | 
			
		||||
 | 
			
		||||
  if (!Object.keys(libraryItemGrouping).length) {
 | 
			
		||||
    Logger.error('Root path has no media folders', fileItems.length)
 | 
			
		||||
    Logger.error(`Root path has no media folders: ${folderPath}`)
 | 
			
		||||
    return []
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user