Fix exception variable name in database service
This commit is contained in:
parent
cbf6dfae4d
commit
1d23649358
1 changed files with 1 additions and 1 deletions
|
|
@ -174,7 +174,7 @@ class DatabaseService(Service):
|
||||||
if not fix:
|
if not fix:
|
||||||
raise RuntimeError(
|
raise RuntimeError(
|
||||||
"Something went wrong running migrations. Please, run `langflow migration --fix`"
|
"Something went wrong running migrations. Please, run `langflow migration --fix`"
|
||||||
) from e
|
) from exc
|
||||||
|
|
||||||
if fix:
|
if fix:
|
||||||
self.try_downgrade_upgrade_until_success(alembic_cfg)
|
self.try_downgrade_upgrade_until_success(alembic_cfg)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue