21:41:16.820 [error] GenServer #PID<0.524.0> terminating
** (FunctionClauseError) no function clause matching in Webapp.Machines.update_status/1
(webapp) lib/webapp/machines/machines.ex:263: Webapp.Machines.update_status(%Webapp.Machines.Machine{__meta__: #Ecto.Schema.Metadata<:loaded, "machines">, created_at: ~U[2019-02-02 21:20:21Z], deleted_at: nil, distribution: %Webapp.Distributions.Distribution{__meta__: #Ecto.Schema.Metadata<:loaded, "distributions">, id: 3, image: "http://ftp.icm.edu.pl/pub/FreeBSD/releases/VM-IMAGES/12.0-RELEASE/amd64/Latest/FreeBSD-12.0-RELEASE-amd64.raw.xz", inserted_at: ~U[2019-02-20 14:03:52Z], loader: "bhyveload", machines: #Ecto.Association.NotLoaded<association :machines is not loaded>, name: "FreeBSD", updated_at: ~U[2019-02-20 14:03:52Z], version: "12.0"}, distribution_id: 3, failed_at: nil, hypervisor: %Webapp.Hypervisors.Hypervisor{__meta__: #Ecto.Schema.Metadata<:loaded, "hypervisors">, fqdn: "midgard.hv.serveraptor.com", hypervisor_type: #Ecto.Association.NotLoaded<association :hypervisor_type is not loaded>, hypervisor_type_id: 1, id: 1, inserted_at: ~U[2019-01-09 19:43:27Z], machines: #Ecto.Association.NotLoaded<association :machines is not loaded>, name: "midgard.hv.serveraptor.com", networks: #Ecto.Association.NotLoaded<association :networks is not loaded>, region: #Ecto.Association.NotLoaded<association :region is not loaded>, region_id: 1, tls: true, updated_at: ~U[2019-12-17 10:01:08Z], webhook_token: "ce75f1e1-2617-4170-a27b-871ac014967b"}, hypervisor_id: 1, id: 17, inserted_at: ~U[2019-02-02 21:19:03Z], ipv4: #Ecto.Association.NotLoaded<association :ipv4 is not loaded>, job: nil, job_id: 4, last_status: "Running", name: "admin.panic.pl", networks: #Ecto.Association.NotLoaded<association :networks is not loaded>, plan: %Webapp.Plans.Plan{__meta__: #Ecto.Schema.Metadata<:loaded, "plans">, cpu: 2, id: 3, inserted_at: ~U[2019-01-09 17:18:32Z], machines: #Ecto.Association.NotLoaded<association :machines is not loaded>, name: "Tyrannosaurus", price: 24, ram: 4096, storage: 120, updated_at: ~U[2019-02-05 21:05:56Z]}, plan_id: 3, ssh_public_key_id: nil, team: #Ecto.Association.NotLoaded<association :team is not loaded>, team_id: 4, updated_at: ~U[2019-12-18 13:40:46Z], uuid: "b4220e20-0676-4d6e-9e8a-c0037d2112f7"})
(webapp) lib/webapp/guard/machine_guard.ex:31: anonymous fn/2 in Webapp.Guard.MachineGuard.check_status/0
(elixir) lib/enum.ex:1948: Enum."-reduce/3-lists^foldl/2-0-"/3
(webapp) lib/webapp/guard/machine_guard.ex:30: Webapp.Guard.MachineGuard.check_status/0
(webapp) lib/webapp/guard/machine_guard.ex:16: Webapp.Guard.MachineGuard.handle_info/2
(stdlib) gen_server.erl:637: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:711: :gen_server.handle_msg/6
(stdlib) proc_lib.erl:249: :proc_lib.init_p_do_apply/3
Last message: :check_status