Skip to content

Commit

Permalink
Fix small bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom committed Jun 10, 2024
1 parent 267f08f commit 69d9e80
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/membrane/core/element.ex
Original file line number Diff line number Diff line change
Expand Up @@ -204,12 +204,12 @@ defmodule Membrane.Core.Element do

@impl GenServer
def handle_info(message, state) do
Telemetry.report_metric(
:queue_len,
:erlang.process_info(self(), :message_queue_len) |> elem(1)
)

Macros.log_on_error do
Telemetry.report_metric(
:queue_len,
:erlang.process_info(self(), :message_queue_len) |> elem(1)
)

do_handle_info(message, state)
end
end
Expand Down

0 comments on commit 69d9e80

Please sign in to comment.