Skip to content

Commit

Permalink
Add message to look at docker for logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Jun 27, 2024
1 parent 64d7572 commit 1f1a6a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion start.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,11 @@ def run_shell_command(command):
)

while True:
output = process.stdout.readline()
try:
output = process.stdout.readline()
except:
print("View the logs in docker with 'docker-compose logs'")
break
if output == "" and process.poll() is not None:
break
if output:
Expand Down

0 comments on commit 1f1a6a5

Please sign in to comment.