fix(Core/DBUpdater): disable exception throwing for dryrun (#22610)

This commit is contained in:
sudlud
2025-08-02 16:05:40 +02:00
committed by GitHub
parent 8a5098861e
commit 5717cd358c
@@ -517,6 +517,7 @@ void DBUpdater<T>::ApplyFile(DatabaseWorkerPool<T>& pool, std::string const& hos
"If you are a developer, please fix your sql query.", "If you are a developer, please fix your sql query.",
path.generic_string(), pool.GetConnectionInfo()->database); path.generic_string(), pool.GetConnectionInfo()->database);
if (!sConfigMgr->isDryRun())
throw UpdateException("update failed"); throw UpdateException("update failed");
} }
} }