smartrent / grizzly

Elixir Z-Wave Library

Home Page:https://hex.pm/packages/grizzly

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crash in `Grizzly.Trace.dump/1`

bjyoungblood opened this issue · comments

** (exit) exited in: GenServer.call(Grizzly.Trace, {:dump, "/tmp/trace.txt"}, 5000)
    ** (EXIT) an exception was raised:
        ** (KeyError) key :name not found in: nil. If you are using the dot syntax, such as map.field, make sure the left-hand side of the dot is a map
            (grizzly 5.3.0) lib/grizzly/trace/record.ex:82: Grizzly.Trace.Record.command_info_with_encapsulated_command/2
            (grizzly 5.3.0) lib/grizzly/trace/record.ex:49: Grizzly.Trace.Record.to_string/1
            (grizzly 5.3.0) lib/grizzly/trace.ex:106: anonymous fn/2 in Grizzly.Trace.records_to_contents/1
            (elixir 1.14.2) lib/enum.ex:2468: Enum."-reduce/3-lists^foldl/2-0-"/3
            (grizzly 5.3.0) lib/grizzly/trace.ex:85: Grizzly.Trace.handle_call/3
            (stdlib 4.2) gen_server.erl:1149: :gen_server.try_handle_call/4
            (stdlib 4.2) gen_server.erl:1178: :gen_server.handle_msg/6
            (stdlib 4.2) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
    (elixir 1.14.2) lib/gen_server.ex:1038: GenServer.call/3
    iex:7: (file)