Skip to content

Commit 760984a

Browse files
committed
Commit
1 parent 85b0a17 commit 760984a

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

scripts/check_deployment.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,12 @@
55
if $?.success? && output.include?('Browse the catalogue')
66
docker_ps = `docker compose ps -a --format json`
77
if $?.success?
8-
j = JSON.parse(docker_ps)
8+
begin
9+
j = JSON.parse(docker_ps)
10+
rescue => e
11+
puts "THE JSON:\n\n\n\n#{docker_ps}\n\n\n\n"
12+
raise e
13+
end
914
unless j.any? { |c| c['ExitCode'] == 1 }
1015
exit 0
1116
end

0 commit comments

Comments
 (0)