Skip to content

Commit

Permalink
Merge pull request #4701 from galaxyproject/cerberus-little
Browse files Browse the repository at this point in the history
fix deploy not degrading gracefully
  • Loading branch information
shiltemann authored Feb 5, 2024
2 parents d868626 + a150d73 commit 3a6ffd9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bin/news.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
'single-cell' => {
server: 'https://matrix.org',
room: '!yuLoaCWKpFHkWPmVEO:gitter.im',
}
},
'wg-goat' => {
server: 'https://matrix.org',
room: '!UQXYBSjdrLHcWgegmg:gitter.im',
Expand Down
7 changes: 6 additions & 1 deletion bin/workflows-fetch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,12 @@ def request(url)

# Get the list of workflows
def fetch_workflows(server)
response = request("#{server}/api/workflows/")
begin
response = request("#{server}/api/workflows/")
rescue
puts "ERROR: Failed to fetch workflows from #{server}"
return []
end

begin
JSON.parse(response.body).map do |w|
Expand Down

0 comments on commit 3a6ffd9

Please sign in to comment.