mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-24 22:15:57 +03:00
SyncEngine: Handle 503 condition as soft error to properly handle etags.
Otherwise the ETags could be removed from the db and cause file deletes.
This commit is contained in:
parent
26ff6be63c
commit
105ff694f2
1 changed files with 1 additions and 0 deletions
|
@ -374,6 +374,7 @@ int SyncEngine::treewalkFile( TREE_WALK_FILE *file, bool remote )
|
|||
break;
|
||||
case CSYNC_STATUS_SERVICE_UNAVAILABLE:
|
||||
item._errorString = QLatin1String("Directory temporarily not available on server.");
|
||||
item._status = SyncFileItem::SoftError;
|
||||
break;
|
||||
default:
|
||||
Q_ASSERT("Non handled error-status");
|
||||
|
|
Loading…
Reference in a new issue