에러나도 Fatal로 죽이지는 않도록 수정

This commit is contained in:
2024-03-05 10:49:52 +09:00
parent 08238b22d2
commit dff2bfca76

View File

@ -13,7 +13,6 @@ import (
"crypto/x509" "crypto/x509"
"errors" "errors"
"io" "io"
"log"
"net/http" "net/http"
"os" "os"
"strings" "strings"
@ -235,7 +234,7 @@ func deflate(inflated []byte) string {
zr := flate.NewReader(byteReader) zr := flate.NewReader(byteReader)
if _, err := io.Copy(wBuf, zr); err != nil { if _, err := io.Copy(wBuf, zr); err != nil {
log.Fatal(err) panic(err)
} }
return wBuf.String() return wBuf.String()