From 732697fc75e23355fcce59e3fe2d7cd4f581131c Mon Sep 17 00:00:00 2001 From: mahdi Date: Sun, 12 Nov 2023 15:15:17 +0100 Subject: [PATCH] sys - add temp traces xtract --- sys/xtract.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/xtract.go b/sys/xtract.go index 9546c6b..38164bd 100644 --- a/sys/xtract.go +++ b/sys/xtract.go @@ -41,8 +41,11 @@ func (x *Xtract) setCompressedFile(dumpName string) { } func (x *Xtract) writeUncompressedData(out *bytes.Buffer) bool { + fmt.Printf("writeUncompressed %s\n", x.outFile) + fmt.Printf("writeUncompressedData :\n%s\n", string(out.Bytes()[0:50])) err := os.WriteFile(x.outFile, out.Bytes(), 0644) if err != nil { + fmt.Printf("err uncompressed : %+v\n", err) panic(err) } return true