Skip to content

Commit

Permalink
fix: print err when failing to start postgres container (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
NathanFlurry committed Mar 6, 2024
2 parents 7572051 + bc4d717 commit bd16d90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/postgres_daemon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,5 +56,5 @@ export async function ensurePostgresRunning(project: Project) {
"postgres:16",
],
}).output();
if (!runOutput.success) throw new Error("Failed to start the container.");
if (!runOutput.success) throw new Error("Failed to start the container:\n" + new TextDecoder().decode(runOutput.stderr));
}

0 comments on commit bd16d90

Please sign in to comment.