Commit 930e4968

mo k <m@mokhan.ca>
2012-01-05 04:49:27
swallow the exception when cropping the image that is pushed to s3. something with the carrierwave cache is being funky.
1 parent 75a9b74
Changed files (1)
app
app/models/creation.rb
@@ -29,7 +29,12 @@ class Creation < ActiveRecord::Base
   end
 
   def reprocess_image
-    self.image.recreate_versions!
+    begin
+      self.image.recreate_versions!
+    rescue Exception => e
+      logger.error e.message
+      logger.error e.backtrace.inspect
+    end
   end
 
 end