App: do not raise an exception if application data directory doesn't exist because this breaks the CI tests
Instead try to create the directories and throw an exception if this fails.
This commit is contained in:
@@ -2958,10 +2958,10 @@ boost::filesystem::path findPath(const QString& stdHome, const QString& customHo
|
||||
|
||||
boost::filesystem::path appData(stringToPath(dataPath.toStdString()));
|
||||
|
||||
if (!boost::filesystem::exists(appData)) {
|
||||
// This should never ever happen
|
||||
throw Base::FileSystemError("Application data directory " + appData.string() + " does not exist!");
|
||||
}
|
||||
//if (!boost::filesystem::exists(appData)) {
|
||||
// // This should never ever happen
|
||||
// throw Base::FileSystemError("Application data directory " + appData.string() + " does not exist!");
|
||||
//}
|
||||
|
||||
// If a custom user home path is given then don't modify it
|
||||
if (customHome.isEmpty()) {
|
||||
|
||||
Reference in New Issue
Block a user