fix bugs
This commit is contained in:
parent
e560b590f5
commit
d0e586f8ad
2 changed files with 2 additions and 2 deletions
2
setup.go
2
setup.go
|
@ -192,7 +192,7 @@ func (s *Sync) ensureChannelOwnership() error {
|
||||||
if channel.Name == s.LbryChannelName {
|
if channel.Name == s.LbryChannelName {
|
||||||
//TODO: eventually get rid of this when the whole db is filled
|
//TODO: eventually get rid of this when the whole db is filled
|
||||||
if s.lbryChannelID == "" {
|
if s.lbryChannelID == "" {
|
||||||
err = s.Manager.apiConfig.SetChannelClaimID(s.YoutubeChannelID, s.lbryChannelID)
|
err = s.Manager.apiConfig.SetChannelClaimID(s.YoutubeChannelID, channel.ClaimID)
|
||||||
}
|
}
|
||||||
s.lbryChannelID = channel.ClaimID
|
s.lbryChannelID = channel.ClaimID
|
||||||
isChannelMine = true
|
isChannelMine = true
|
||||||
|
|
|
@ -539,7 +539,7 @@ func (s *Sync) startWorker(workerNum int) {
|
||||||
err := s.processVideo(v)
|
err := s.processVideo(v)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
logMsg := fmt.Sprintf("error processing video: " + err.Error())
|
logMsg := "error processing video: " + err.Error()
|
||||||
log.Errorln(logMsg)
|
log.Errorln(logMsg)
|
||||||
fatalErrors := []string{
|
fatalErrors := []string{
|
||||||
":5279: read: connection reset by peer",
|
":5279: read: connection reset by peer",
|
||||||
|
|
Loading…
Reference in a new issue