From 45fd093761e321b574ff9a5726aa740fbc100c96 Mon Sep 17 00:00:00 2001 From: albert Date: Thu, 15 Sep 2011 18:38:48 -0400 Subject: [PATCH] more debug info --- app/models/upload.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/upload.rb b/app/models/upload.rb index bef5c513e..47bffa5bd 100644 --- a/app/models/upload.rb +++ b/app/models/upload.rb @@ -74,7 +74,7 @@ class Upload < ActiveRecord::Base end end rescue Exception => x - update_attribute(:status, "error: #{x} - #{x.message}") + update_attribute(:status, "error: #{x.class} - #{x.message} - #{x.backtrace.join("\n")}") ensure delete_temp_file end