Skip to content

Commit 284ae00

Browse files
committed
debug exit code on crash
1 parent a668fb4 commit 284ae00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Backends/NetworkBackendUtils.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ async void MonitorErrLoop()
627627
}
628628
else
629629
{
630-
Logs.Info($"Self-Start {nameSimple} unexpectedly exited (if something failed, change setting `LogLevel` to `Debug` to see why!)");
630+
Logs.Info($"Self-Start {nameSimple} unexpectedly exited (ExitCode={(process.HasExited ? process.ExitCode : "unknown")}) (if something failed, change setting `LogLevel` to `Debug` to see why!)");
631631
if (errorLog.Length > 0)
632632
{
633633
Logs.Info($"Self-Start {nameSimple} had errors before shutdown:\n{errorLog}");

0 commit comments

Comments
 (0)