Skip to content

Commit 7564450

Browse files
committed
pkg/manager: store tail reports
1 parent b208762 commit 7564450

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

pkg/manager/crash.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,9 @@ func (cs *CrashStore) SaveCrash(crash *Crash) (bool, error) {
8888
writeOrRemove("log", crash.Output)
8989
writeOrRemove("tag", []byte(cs.Tag))
9090
writeOrRemove("report", crash.Report.Report)
91+
for i := range crash.TailReports {
92+
writeOrRemove("tailreport", crash.TailReports[i].Report)
93+
}
9194
writeOrRemove("machineInfo", crash.MachineInfo)
9295

9396
return first, nil

0 commit comments

Comments
 (0)