Browse Source

non-fatal error

pull/1507/head
Chris Lu 4 years ago
parent
commit
1b3a80dd3d
  1. 2
      weed/operation/chunked_file.go
  2. 2
      weed/util/http_util.go

2
weed/operation/chunked_file.go

@ -57,7 +57,7 @@ func LoadChunkManifest(buffer []byte, isCompressed bool) (*ChunkManifest, error)
if isCompressed {
var err error
if buffer, err = util.DecompressData(buffer); err != nil {
return nil, err
glog.V(0).Infof("fail to decompress chunk manifest: %v", err)
}
}
cm := ChunkManifest{}

2
weed/util/http_util.go

@ -338,7 +338,7 @@ func readEncryptedUrl(fileUrl string, cipherKey []byte, isContentCompressed bool
if isContentCompressed {
decryptedData, err = DecompressData(decryptedData)
if err != nil {
glog.V(0).Info("unzip decrypt %s: %v", fileUrl, err)
glog.V(0).Infof("unzip decrypt %s: %v", fileUrl, err)
}
}
if len(decryptedData) < int(offset)+size {

Loading…
Cancel
Save