|
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) |
added protection against caused by workflow processors failing
--- 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
[Prev in Thread] | Current Thread | [Next in Thread] |