Fix exception variable name in database service

This commit is contained in:
Gabriel Luiz Freitas Almeida 2024-03-05 17:44:48 -03:00
commit 1d23649358

View file

@ -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)