diff --git a/supernode/server/0.3_bridge.go b/supernode/server/0.3_bridge.go index c95dc3e5b..08fa097e4 100644 --- a/supernode/server/0.3_bridge.go +++ b/supernode/server/0.3_bridge.go @@ -121,9 +121,11 @@ func (s *Server) pullPieceTask(ctx context.Context, rw http.ResponseWriter, req if !cutil.IsEmptyStr(dstCID) { dstDfgetTask, err := s.DfgetTaskMgr.Get(ctx, dstCID, taskID) if err != nil { - return err + logrus.Warnf("failed to get dfget task by dstCID(%s) and taskID(%s), and the srcCID is %s, err: %v", + dstCID, taskID, srcCID, err) + } else { + request.DstPID = dstDfgetTask.PeerID } - request.DstPID = dstDfgetTask.PeerID } isFinished, data, err := s.TaskMgr.GetPieces(ctx, taskID, srcCID, request)