From 7500f81f82e0c6596c8152976739277653bb7b9b Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 22 Dec 2022 17:16:16 +0100 Subject: [PATCH] Improved the log output on theme loading errors. --- es-app/src/SystemData.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/es-app/src/SystemData.cpp b/es-app/src/SystemData.cpp index 6036f6a64..233b37125 100644 --- a/es-app/src/SystemData.cpp +++ b/es-app/src/SystemData.cpp @@ -1357,7 +1357,8 @@ void SystemData::loadTheme() mTheme->loadFile(sysData, path, isCustomCollection()); } catch (ThemeException& e) { - LOG(LogError) << e.what(); + LOG(LogError) << e.what() << " (system \"" << mName << "\", theme \"" << mThemeFolder + << "\")"; mTheme = std::make_shared(); // Reset to empty. } }