From 070d7d81d705dc39a63c3f36b789081b2c08096e Mon Sep 17 00:00:00 2001 From: Marcus Ramberg Date: Wed, 15 Jan 2025 13:25:55 +0100 Subject: [PATCH] fix: sql migration failures should be an error, not info level --- .../legacy_migrations/management/commands/migrate.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/django_apps/legacy_migrations/management/commands/migrate.py b/shared/django_apps/legacy_migrations/management/commands/migrate.py index a36f4d1c5..973c50e4b 100644 --- a/shared/django_apps/legacy_migrations/management/commands/migrate.py +++ b/shared/django_apps/legacy_migrations/management/commands/migrate.py @@ -142,7 +142,7 @@ def handle(self, *args, **options): super().handle(*args, **options) django_transaction.commit(database) except: - log.info("Codecov migrations failed.") + log.error("Codecov migrations failed.") raise else: log.info("Codecov migrations succeeded.")