fix pointer issue
This commit is contained in:
parent
8d849b8f06
commit
5b9846bcca
2 changed files with 5 additions and 4 deletions
|
@ -119,7 +119,7 @@ func transferVideos(s *Sync) error {
|
|||
} else {
|
||||
videoStatus.IsTransferred = util.PtrToBool(len(result.Outputs) != 0)
|
||||
}
|
||||
log.Infof("TRANSFERRED %t", videoStatus.IsTransferred)
|
||||
log.Infof("TRANSFERRED %t", *videoStatus.IsTransferred)
|
||||
statusErr := s.APIConfig.MarkVideoStatus(videoStatus)
|
||||
if statusErr != nil {
|
||||
return errors.Prefix(statusErr.Error(), updateError)
|
||||
|
@ -135,6 +135,7 @@ func transferVideos(s *Sync) error {
|
|||
}
|
||||
return nil
|
||||
}
|
||||
|
||||
func transferChannel(s *Sync) error {
|
||||
channelClaim, err := s.daemon.ClaimSearch(nil, &s.lbryChannelID, nil, nil)
|
||||
if err != nil {
|
||||
|
|
|
@ -775,7 +775,7 @@ func (s *Sync) startWorker(workerNum int) {
|
|||
"Error in daemon: Cannot publish empty file",
|
||||
"Error extracting sts from embedded url response",
|
||||
"Unable to extract signature tokens",
|
||||
"Client.Timeout exceeded while awaiting headers)",
|
||||
"Client.Timeout exceeded while awaiting headers",
|
||||
"the video is too big to sync, skipping for now",
|
||||
"video is too long to process",
|
||||
"no compatible format available for this video",
|
||||
|
@ -784,8 +784,8 @@ func (s *Sync) startWorker(workerNum int) {
|
|||
"the video must be republished as we can't get the right size",
|
||||
"HTTP Error 403",
|
||||
"giving up after 0 fragment retries",
|
||||
"download error: ERROR: Sorry about that",
|
||||
"download error: ERROR: This video is not available",
|
||||
"Sorry about that",
|
||||
"This video is not available",
|
||||
}
|
||||
if util.SubstringInSlice(err.Error(), errorsNoRetry) {
|
||||
log.Println("This error should not be retried at all")
|
||||
|
|
Loading…
Reference in a new issue