mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 03:40:00 +08:00
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
Block a user