diff --git a/VERSION b/VERSION index 1b948091..6d4a02bb 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -10.0.0-rc39 +10.0.0-rc40 diff --git a/farmbot_ext/lib/farmbot_ext/api/dirty_worker.ex b/farmbot_ext/lib/farmbot_ext/api/dirty_worker.ex index c0306a60..b5203c55 100644 --- a/farmbot_ext/lib/farmbot_ext/api/dirty_worker.ex +++ b/farmbot_ext/lib/farmbot_ext/api/dirty_worker.ex @@ -47,10 +47,12 @@ defmodule FarmbotExt.API.DirtyWorker do if (item.id) do Process.sleep(300) next_item = Repo.get_by(module, id: item.id) - old_y = item.y - new_y = next_item.y - msg = "Y value after DB refresh: #{old_y} => #{new_y}" - FarmbotCore.Logger.info(2, msg) + if module == FarmbotCore.Asset.Point do + old_y = item.y + new_y = next_item.y + msg = "Y value after DB refresh: #{old_y} => #{new_y}" + FarmbotCore.Logger.info(2, msg) + end next_item else item