Commit 0afe7791 authored by Christopher Coté's avatar Christopher Coté

more logging

parent 128dfc21
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment