Closed cschneid closed 5 years ago
If you have a repo named MyApp.Datastores.Repo, the telemetry attach function attaches to [:myapp, :datastores, :repo, :query] and then the call to handle_event fails to pattern match (since it has 1 too many items in the list).
MyApp.Datastores.Repo
[:myapp, :datastores, :repo, :query]
handle_event
If you have a repo named
MyApp.Datastores.Repo
, the telemetry attach function attaches to[:myapp, :datastores, :repo, :query]
and then the call tohandle_event
fails to pattern match (since it has 1 too many items in the list).