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

Commit 1c5932b

Browse files
authored
Fix the error log when database migration failed (#64)
1 parent 706fc74 commit 1c5932b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/database_migration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ def run(self, environment: dict[str, str]) -> None:
115115
["/bin/bash", "-xeo", "pipefail", self.script],
116116
environment=environment,
117117
working_dir=str(FLASK_APP_DIR),
118-
).wait()
118+
).wait_output()
119119
self._set_status(DatabaseMigrationStatus.COMPLETED)
120120
self._set_completed_script(self.script)
121121
except ExecError as exc:

0 commit comments

Comments
 (0)