upload fixes

This commit is contained in:
albert
2011-09-15 18:47:56 -04:00
parent 45fd093761
commit eddf35556a
2 changed files with 3 additions and 3 deletions

View File

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