diff --git a/src/core/store/hb_store_lmdb.erl b/src/core/store/hb_store_lmdb.erl index 21c76d761..6e0202166 100644 --- a/src/core/store/hb_store_lmdb.erl +++ b/src/core/store/hb_store_lmdb.erl @@ -160,9 +160,11 @@ write(Opts, Path, Value) -> case elmdb:put(DBInstance, Path, Value) of ok -> ok; {error, Type, Description} -> + Name = maps:get(<<"name">>, Opts, not_set), ?event( error, {lmdb_error, + {name, Name}, {type, Type}, {description, Description} }