mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-09 21:16:26 +08:00
Include reason in the error message when the runtime node goes down during init
This commit is contained in:
parent
4c356eefed
commit
6cc22501c9
1 changed files with 3 additions and 2 deletions
|
@ -100,8 +100,9 @@ defmodule Livebook.Runtime.StandaloneInit do
|
||||||
{^port, {:data, _output}} ->
|
{^port, {:data, _output}} ->
|
||||||
loop.(loop)
|
loop.(loop)
|
||||||
|
|
||||||
{:DOWN, ^port_ref, :port, _object, _reason} ->
|
{:DOWN, ^port_ref, :port, _object, reason} ->
|
||||||
{:error, "Elixir terminated unexpectedly, please check your logs for errors"}
|
{:error,
|
||||||
|
"Elixir terminated unexpectedly, please check your logs for errors. Reason: #{inspect(reason)}"}
|
||||||
after
|
after
|
||||||
# Use a longer timeout to account for longer child node startup.
|
# Use a longer timeout to account for longer child node startup.
|
||||||
30_000 ->
|
30_000 ->
|
||||||
|
|
Loading…
Add table
Reference in a new issue