Update verbage for firmware timeouts

This commit is contained in:
Connor Rigby 2018-01-08 17:49:57 -08:00
parent 480f4ae753
commit 1d5f50cb1b

View file

@ -172,7 +172,7 @@ defmodule Farmbot.Firmware do
case state.current do
nil -> {:noreply, [], %{state | timer: nil}}
%Current{fun: fun, args: args, from: _from} = current ->
Logger.warn 1, "Got Firmware timeout. Retrying #{fun}(#{inspect args}) "
Logger.warn 1, "Timed out waiting for Firmware response. Retrying #{fun}(#{inspect args}) "
case apply(state.handler_mod, fun, [state.handler | args]) do
:ok ->
timer = Process.send_after(self(), :timeout, state.timeout_ms)