From e01abae5e83431e14722a05dda492ef7aed1be93 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20Bara=C3=BAna?= Date: Wed, 15 Jan 2025 02:02:42 -0300 Subject: [PATCH] Log message when starting a new standalone runtime does not work (#2911) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jonatan Kłosko --- lib/livebook/runtime/standalone.ex | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/livebook/runtime/standalone.ex b/lib/livebook/runtime/standalone.ex index f6ad34e32..5860a0907 100644 --- a/lib/livebook/runtime/standalone.ex +++ b/lib/livebook/runtime/standalone.ex @@ -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)`