lib/daengine/digital_asset_processor.rb in daengine-0.3.9.6 vs lib/daengine/digital_asset_processor.rb in daengine-0.3.9.7

- old
+ new

@@ -41,9 +41,10 @@ self.save_last_read_time Daengine.log("DigitalAssetProcessor: Last process time set to #{@@last_read_time}", "info") rescue Daengine.log("Unable to process file #{filename}, #{$!.message}", "error") end + end end rescue Errno::EEXIST Daengine.log("DigitalAssetProcessor: Already in progress. Lockfile exists at #{lockfile_name}. Aborting!", "error") ensure \ No newline at end of file