lib/pione/rule-handler/action-handler.rb in pione-0.2.0 vs lib/pione/rule-handler/action-handler.rb in pione-0.2.1

- old
+ new

@@ -186,10 +186,15 @@ # # @return [void] def write_other_resources @working_directory.file_entries.each do |entry| location = make_location(entry.path.basename, @domain) - entry.move(location) + begin + entry.move(location) + rescue => e + msg = "cannot move %s to %s" % [entry.path, location] + Util::ErrorReport.warn(msg, self, e, __FILE__, __LINE__) + end end end # Writes output tuples into the tuple space server. def write_output_tuples