From 22900a3f679847e2d8e81d7295bd5eee2434f5e1 Mon Sep 17 00:00:00 2001 From: Selfhost Alt Date: Mon, 25 Apr 2022 15:28:03 -0700 Subject: [PATCH] Log full path when warning about empty root --- server/utils/scandir.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/scandir.js b/server/utils/scandir.js index feaa2cb2..b7672c1e 100644 --- a/server/utils/scandir.js +++ b/server/utils/scandir.js @@ -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 [] }