DEV: Correct rake task syntax error
This commit is contained in:
parent
31902159af
commit
0fbff66d97
|
@ -212,12 +212,13 @@ def migrate_to_s3_all_sites
|
|||
RailsMultisite::ConnectionManagement.each_connection do
|
||||
begin
|
||||
migrate_to_s3
|
||||
rescue e
|
||||
rescue RuntimeError => e
|
||||
if ENV["SKIP_FAILED"]
|
||||
puts e
|
||||
else
|
||||
raise e unless ENV["SKIP_FAILED"]
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue