myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [2374] branches/biocat/app/models/workflow.rb: ad


From: noreply
Subject: [myexperiment-hackers] [2374] branches/biocat/app/models/workflow.rb: added protection against caused by workflow processors failing
Date: Wed, 7 Apr 2010 11:02:09 -0400 (EDT)

Revision
2374
Author
dgc
Date
2010-04-07 11:02:09 -0400 (Wed, 07 Apr 2010)

Log Message

added protection against caused by workflow processors failing

Modified Paths

Diff

Modified: branches/biocat/app/models/workflow.rb (2373 => 2374)


--- branches/biocat/app/models/workflow.rb	2010-04-07 14:28:59 UTC (rev 2373)
+++ branches/biocat/app/models/workflow.rb	2010-04-07 15:02:09 UTC (rev 2374)
@@ -306,7 +306,10 @@
   def extract_metadata
     if processor_class
       delete_metadata
-      processor_class.new(content_blob.data).extract_metadata(id)
+      begin
+        processor_class.new(content_blob.data).extract_metadata(id)
+      rescue
+      end
     end
   end
 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]