fix failure case
This commit is contained in:
parent
6b65cb115a
commit
c51ed5612d
1 changed files with 3 additions and 1 deletions
|
@ -96,7 +96,9 @@ func (s *Sync) AppendSyncedVideo(videoID string, published bool, failureReason s
|
||||||
Published: published,
|
Published: published,
|
||||||
FailureReason: failureReason,
|
FailureReason: failureReason,
|
||||||
}
|
}
|
||||||
s.claimNames[claimName] = true
|
if claimName != "" {
|
||||||
|
s.claimNames[claimName] = true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// SendErrorToSlack Sends an error message to the default channel and to the process log.
|
// SendErrorToSlack Sends an error message to the default channel and to the process log.
|
||||||
|
|
Loading…
Reference in a new issue