DEV: Correct rake task syntax error

DEV: Correct rake task syntax error

diff --git a/lib/tasks/uploads.rake b/lib/tasks/uploads.rake
index 6a30d23..0ca34b4 100644
--- a/lib/tasks/uploads.rake
+++ b/lib/tasks/uploads.rake
@@ -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

GitHub sha: 0fbff66d