Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Fix the error log when database migration failed (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
weiiwang01 authored Oct 23, 2023
1 parent 706fc74 commit 1c5932b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/database_migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ def run(self, environment: dict[str, str]) -> None:
["/bin/bash", "-xeo", "pipefail", self.script],
environment=environment,
working_dir=str(FLASK_APP_DIR),
).wait()
).wait_output()
self._set_status(DatabaseMigrationStatus.COMPLETED)
self._set_completed_script(self.script)
except ExecError as exc:
Expand Down

0 comments on commit 1c5932b

Please sign in to comment.