diff --git a/pkg/histfile/histfile.go b/pkg/histfile/histfile.go index 0e32d05..73e5309 100644 --- a/pkg/histfile/histfile.go +++ b/pkg/histfile/histfile.go @@ -157,7 +157,7 @@ func (h *Histfile) writer(input chan records.Record, signals chan os.Signal, shu log.Println("histfile DEBUG: Unlocked mutex") for sessID, record := range h.sessions { - log.Panicln("histfile WARN: Writing incomplete record for session " + sessID) + log.Printf("histfile WARN: Writing incomplete record for session: %v\n", sessID) h.writeRecord(record) } log.Println("histfile DEBUG: Shutdown success")