From fa2fd7fff85947c90d491ef4d52bfa8f3b90a28b Mon Sep 17 00:00:00 2001 From: Dan Ungureanu Date: Tue, 23 Nov 2021 13:55:09 +0200 Subject: [PATCH] FIX: Do not fail-stop if theme update fails (#15063) --- lib/tasks/themes.rake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/tasks/themes.rake b/lib/tasks/themes.rake index cd9eda143f..d997d57997 100644 --- a/lib/tasks/themes.rake +++ b/lib/tasks/themes.rake @@ -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