add logs for https://github.com/chrislusf/seaweedfs/issues/1064
This commit is contained in:
Chris Lu 2019-09-16 08:19:10 -07:00
parent ad3efbb197
commit 20ae559437

View File

@ -89,6 +89,7 @@ func (s3a *S3ApiServer) list(ctx context.Context, parentDirectoryPath, prefix, s
glog.V(4).Infof("read directory: %v", request)
resp, err := client.ListEntries(ctx, request)
if err != nil {
glog.V(0).Infof("read directory %v: %v", request, err)
return fmt.Errorf("list dir %v: %v", parentDirectoryPath, err)
}