From b6efecde602d90cd149ee8d116f153ff158bed9b Mon Sep 17 00:00:00 2001 From: angad-z Date: Tue, 11 Apr 2023 18:47:43 +0530 Subject: [PATCH] remove logging on failed smile header decoding --- smile/smile.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/smile/smile.go b/smile/smile.go index eefac1b..421b094 100644 --- a/smile/smile.go +++ b/smile/smile.go @@ -1,11 +1,8 @@ package smile import ( - "encoding/base64" "encoding/json" - "log" - "github.com/gocollection/go-smile/decode" "github.com/gocollection/go-smile/domain" ) @@ -27,10 +24,6 @@ func DecodeToJSON(smile []byte) (string, error) { func DecodeToObject(smile []byte) (interface{}, error) { header, err := domain.DecodeHeader(smile) if err != nil { - log.Printf( - "[go-smile] error decoding bytes. err: %s; base64-string: %s", - err.Error(), base64.StdEncoding.EncodeToString(smile), - ) return "", err }