disable reraise on upload errors

This commit is contained in:
albert
2011-09-15 18:35:42 -04:00
parent cfb4c04d6a
commit 18cfc49d96
2 changed files with 11 additions and 1 deletions

View File

@@ -74,7 +74,6 @@ class Upload < ActiveRecord::Base
end
end
rescue Exception => x
raise
update_attribute(:status, "error: #{x} - #{x.message}")
ensure
delete_temp_file