Skip to content

Commit

Permalink
modify error messgae (#54)
Browse files Browse the repository at this point in the history
  • Loading branch information
csdtowards authored Aug 22, 2024
1 parent 24388ba commit ee78994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disperser/apiserver/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ func (s *DispersalServer) GetBlobStatus(ctx context.Context, req *pb.BlobStatusR
metadataFromKV, err := s.getMetadataFromKv(ctx, requestID)
if err != nil {
s.logger.Warn("get metadata from kv", "error", err)
return nil, fmt.Errorf("no metadata found for the requestID")
return nil, fmt.Errorf("failed to retrieve blob status: disperse failed or request may not exist")
}
if metadataFromKV != nil {
// metadata = metadataInKV
Expand Down

0 comments on commit ee78994

Please sign in to comment.