FIX: Do not fail-stop if theme update fails (#15063)

This commit is contained in:
Dan Ungureanu 2021-11-23 13:55:09 +02:00 committed by GitHub
parent ff7acc9828
commit fa2fd7fff8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 4 deletions

View File

@ -61,14 +61,11 @@ def update_themes
theme.save!
unless theme.remote_theme.last_error_text.nil?
puts "Error updating '#{theme.name}': #{theme.remote_theme.last_error_text}"
exit 1
end
end
rescue => e
STDERR.puts "Failed to update '#{theme.name}'"
STDERR.puts e
STDERR.puts "Failed to update '#{theme.name}': #{e}"
STDERR.puts e.backtrace
exit 1
end
end
end