mirror of
https://github.com/zulip/zulip.git
synced 2025-11-14 19:06:09 +00:00
scripts: Print names of missing migrations in compatibility check.
This will make it much easier to debug any situations where this happens.
This commit is contained in:
@@ -26,6 +26,9 @@ for key, migration in loader.disk_migrations.items():
|
|||||||
if not missing:
|
if not missing:
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
for migration in missing:
|
||||||
|
print(f"Migration {migration} missing in new version.")
|
||||||
|
|
||||||
current_version = parse_version_from(os.path.join(DEPLOYMENTS_DIR, "current"))
|
current_version = parse_version_from(os.path.join(DEPLOYMENTS_DIR, "current"))
|
||||||
logging.error(
|
logging.error(
|
||||||
"This is not an upgrade -- the current deployment (version %s) "
|
"This is not an upgrade -- the current deployment (version %s) "
|
||||||
|
|||||||
Reference in New Issue
Block a user