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:
|
||||
raise RuntimeError(
|
||||
"Something went wrong running migrations. Please, run `langflow migration --fix`"
|
||||
) from e
|
||||
) from exc
|
||||
|
||||
if fix:
|
||||
self.try_downgrade_upgrade_until_success(alembic_cfg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue