Log message when starting a new standalone runtime does not work (#2911)

Co-authored-by: Jonatan Kłosko <jonatanklosko@gmail.com>
This commit is contained in:
Hugo Baraúna 2025-01-15 02:02:42 -03:00 committed by GitHub
parent 601e93ae76
commit e01abae5e8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -163,7 +163,13 @@ defmodule Livebook.Runtime.Standalone do
{:DOWN, ^manager_ref, :process, _object, _reason} -> :ok
end
after
10_000 -> :timeout
10_000 ->
IO.puts(
"Error: timeout during initial communication between standalone runtime" <>
" (node: #{inspect(node())}) and Livebook (node: #{inspect(parent_node)})."
)
:timeout
end
# We explicitly halt at the end, just in case `System.no_halt(true)`