fix failure case
This commit is contained in:
parent
6b65cb115a
commit
c51ed5612d
1 changed files with 3 additions and 1 deletions
|
@ -96,8 +96,10 @@ func (s *Sync) AppendSyncedVideo(videoID string, published bool, failureReason s
|
||||||
Published: published,
|
Published: published,
|
||||||
FailureReason: failureReason,
|
FailureReason: failureReason,
|
||||||
}
|
}
|
||||||
|
if claimName != "" {
|
||||||
s.claimNames[claimName] = true
|
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.
|
||||||
func SendErrorToSlack(format string, a ...interface{}) error {
|
func SendErrorToSlack(format string, a ...interface{}) error {
|
||||||
|
|
Loading…
Reference in a new issue