Skip to content

Commit

Permalink
Don't show :undefined id when rendering supervision trees (#456)
Browse files Browse the repository at this point in the history
Co-authored-by: Jonatan Kłosko <[email protected]>
  • Loading branch information
hugobarauna and jonatanklosko authored Jul 11, 2024
1 parent 591d148 commit 50bb6ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kino/process.ex
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,7 @@ defmodule Kino.Process do
{:registered_name, []} ->
case get_label(pid) do
:undefined ->
if idx == 0 do
if idx == 0 or id == :undefined do
inspect(pid)
else
# Use worker/supervisor id as label
Expand Down

0 comments on commit 50bb6ab

Please sign in to comment.