From: Christopher Date: Thu, 16 Apr 2020 16:16:20 +0000 (-0500) Subject: more logging X-Git-Url: http://git.entropealabs.com/?a=commitdiff_plain;h=refs%2Fheads%2Fsimplify-batch;p=cluster_kv.git more logging --- diff --git a/lib/cluster_kv/db.ex b/lib/cluster_kv/db.ex index 48c2741..e803e41 100644 --- a/lib/cluster_kv/db.ex +++ b/lib/cluster_kv/db.ex @@ -177,7 +177,8 @@ defmodule ClusterKV.DB do new = fun.(old, value) :ets.insert(db, new) - [_] -> + [{_, v}] -> + Logger.info("Exising value is not a list: #{inspect(v)} writing #{inspect(value)}") :ets.insert(db, {key, [value]}) end