updated migrations

This commit is contained in:
albert
2011-09-16 16:58:22 -04:00
parent 0457fa144d
commit 323cee64ca
4 changed files with 8 additions and 2 deletions

View File

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