debug: add debug line
This commit is contained in:
parent
b0a7566466
commit
d6d15cff73
|
@ -5,6 +5,7 @@ import (
|
|||
"git.lumeweb.com/LumeWeb/libs5-go/encoding"
|
||||
"git.lumeweb.com/LumeWeb/portal/interfaces"
|
||||
"github.com/go-resty/resty/v2"
|
||||
"go.uber.org/zap"
|
||||
"io"
|
||||
"lukechampine.com/blake3"
|
||||
)
|
||||
|
@ -51,6 +52,8 @@ func (s StorageServiceImpl) PutFile(file io.ReadSeeker, bucket string, generateP
|
|||
return nil, err
|
||||
}
|
||||
|
||||
s.portal.Logger().Info("resp", zap.Any("resp", resp.String()))
|
||||
|
||||
if resp.IsError() && resp.Error() != nil {
|
||||
return nil, resp.Error().(error)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue