diff --git a/internal/logging/panic.go b/internal/logging/panic.go index a7205ce7d9..6a2c7869e6 100644 --- a/internal/logging/panic.go +++ b/internal/logging/panic.go @@ -60,6 +60,9 @@ func PanicHandler(logF *os.File) panicwrap.HandlerFunc { return } + // add the trace back to the log + f.WriteString("\n" + m) + // Tell the user a crash occurred in some helpful way that // they'll hopefully notice. fmt.Printf("\n\n")