app/models/logical/naf/log_parser/runner.rb in naf-2.1.3 vs app/models/logical/naf/log_parser/runner.rb in naf-2.1.4
- old
+ new
@@ -50,10 +50,10 @@
files
end
def get_invocation_id(uuid)
if invocations_ids[uuid].blank?
- @invocations_ids[uuid] = ::Naf::MachineRunnerInvocation.find_by_uuid(uuid).id
+ @invocations_ids[uuid] = ::Naf::MachineRunnerInvocation.find_by_uuid(uuid).try(:id)
end
invocations_ids[uuid]
end