Skip to content

Commit

Permalink
Make error message more verbose (#144)
Browse files Browse the repository at this point in the history
  • Loading branch information
jkamdjou authored Jan 4, 2024
1 parent dd11c18 commit 98a0896
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion update-and-run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ fi

if [ "$1" != "always_launch" ]; then
if ! $cmd_prefix docker compose ps | grep "mantis" >/dev/null 2>&1; then
print_error "docker compose appears to be brought down. Will not proceed to avoid relaunching."
print_error "Sublime Platform appears to have been manually shut down. Will not proceed to avoid relaunching."
print_warning "If you wish to relaunch, please refer to the documentation here:"
print_warning "https://docs.sublimesecurity.com/docs/quickstart-docker#how-to-update"
exit 0
fi
fi
Expand Down

0 comments on commit 98a0896

Please sign in to comment.