Skip to content

Commit f9908a7

Browse files
committed
simplify raise condition in migration
1 parent 9b34b7c commit f9908a7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

orchestrator/migrations/versions/schema/2025-02-20_68d14db1b8da_make_workflow_description_mandatory.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,7 @@ def upgrade() -> None:
2626
logger.error(
2727
"Unable to execute migrations due to missing descriptions in workflow table, please create a migration to backfill this column."
2828
)
29-
raise Exception("Unable to execute migrations due to missing descriptions in workflow table, please create a migration to backfill this column.")
30-
29+
raise
3130

3231

3332
def downgrade() -> None:

0 commit comments

Comments
 (0)