There is a GenServer termination in the Timber logger, whose origin I cannot track. It's hard to tell which Logger call caused it.
I have a feeling that it is failing to log ecto structs in the Plug.Conn private context in the response, since I cannot find any explicit Logger calls which log the full struct or big structures.
I am encountering this error in my logs:
(Protocol.UndefinedError) protocol Msgpax.Packer not implemented for {"prefix_test", "institution_names"}. This protocol is implemented for: Atom, BitString, Float, Integer, List, Map, Msgpax.Bin, Msgpax.Ext
I found the problem, found an event metadata map which contained an Ecto struct. It was that struct that was not encodable, especially the # Association not preloaded part.
There is a GenServer termination in the Timber logger, whose origin I cannot track. It's hard to tell which Logger call caused it.
I have a feeling that it is failing to log ecto structs in the
Plug.Conn
private context in the response, since I cannot find any explicit Logger calls which log the full struct or big structures.I am encountering this
error
in my logs:Followed by another
error
: