mirror of
https://github.com/livebook-dev/livebook.git
synced 2025-10-09 13:07:37 +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}} ->
|
||||
loop.(loop)
|
||||
|
||||
{:DOWN, ^port_ref, :port, _object, _reason} ->
|
||||
{:error, "Elixir terminated unexpectedly, please check your logs for errors"}
|
||||
{:DOWN, ^port_ref, :port, _object, reason} ->
|
||||
{:error,
|
||||
"Elixir terminated unexpectedly, please check your logs for errors. Reason: #{inspect(reason)}"}
|
||||
after
|
||||
# Use a longer timeout to account for longer child node startup.
|
||||
30_000 ->
|
||||
|
|
Loading…
Add table
Reference in a new issue