From 229555d97db10abeec5a5e831e349155421928de Mon Sep 17 00:00:00 2001 From: simon Date: Sat, 18 Feb 2023 09:14:49 +0700 Subject: [PATCH] fix raise commanderror when migration failed --- tubearchivist/config/management/commands/ta_startup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tubearchivist/config/management/commands/ta_startup.py b/tubearchivist/config/management/commands/ta_startup.py index b4c09409..852447a6 100644 --- a/tubearchivist/config/management/commands/ta_startup.py +++ b/tubearchivist/config/management/commands/ta_startup.py @@ -168,4 +168,4 @@ class Command(BaseCommand): message = f" 🗙 {index_name} vid_type update failed" self.stdout.write(self.style.ERROR(message)) self.stdout.write(response) - CommandError(message) + raise CommandError(message)