App: Address reviewer comments

This commit is contained in:
Chris Hennes
2025-09-17 16:08:07 -05:00
parent 0dcbac7b30
commit b64b0f528b
2 changed files with 8 additions and 9 deletions

View File

@@ -569,7 +569,7 @@ void ApplicationDirectories::migrateAllPaths(const std::vector<fs::path> &paths)
newPath = path / versionStringForPath(major, minor);
}
if (fs::exists(newPath)) {
throw Base::RuntimeError("Cannot migrate config - path already exists: " + Base::FileInfo::pathToString(newPath));
continue; // Ignore an existing path: not an error, just a migration that was already done
}
fs::create_directories(newPath);
migrateConfig(path, newPath);