add status to list

resume on disk usage overflow
This commit is contained in:
Niko Storni 2020-10-27 20:57:32 +01:00
parent f5f12e1560
commit ca8ff505d4
2 changed files with 2 additions and 1 deletions

View file

@ -260,6 +260,7 @@ func (s *Sync) setChannelTerminationStatus(e *error) {
"this youtube channel is being managed by another server", "this youtube channel is being managed by another server",
"interrupted during daemon startup", "interrupted during daemon startup",
"interrupted by user", "interrupted by user",
"use --skip-space-check to ignore",
} }
if util.SubstringInSlice((*e).Error(), noFailConditions) { if util.SubstringInSlice((*e).Error(), noFailConditions) {
return return

View file

@ -94,7 +94,7 @@ const (
StatusAbandoned = "abandoned" // deleted on youtube or banned StatusAbandoned = "abandoned" // deleted on youtube or banned
) )
var SyncStatuses = []string{StatusPending, StatusPendingEmail, StatusPendingUpgrade, StatusQueued, StatusSyncing, StatusSynced, StatusFailed, StatusFinalized, StatusAbandoned} var SyncStatuses = []string{StatusPending, StatusPendingEmail, StatusPendingUpgrade, StatusQueued, StatusSyncing, StatusSynced, StatusFailed, StatusFinalized, StatusAbandoned, StatusWipeDb}
const LatestMetadataVersion = 2 const LatestMetadataVersion = 2