Update src/PepperDash.Essentials/ControlSystem.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Neil Dorin
2025-08-19 14:54:11 -06:00
committed by GitHub
parent 52916d29f4
commit d013068a0c

View File

@@ -613,7 +613,7 @@ namespace PepperDash.Essentials
var rootDir = userOrNvramDir?.Parent;
if (rootDir == null)
{
throw new Exception("Unable to determine root directory for html extraction.");
throw new Exception($"Unable to determine root directory for html extraction. Current path: {Global.FilePathPrefix}");
}
var htmlDir = Path.Combine(rootDir.FullName, "html");
Debug.LogMessage(LogEventLevel.Information, "Found htmlassets zip file: {zipFile:l}... Unzipping...", htmlZipFile.FullName);