mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-21 21:55:38 +00:00
Improved the log output on theme loading errors.
This commit is contained in:
parent
8b33fceb8a
commit
7500f81f82
|
@ -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<ThemeData>(); // Reset to empty.
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue