mirror of
https://github.com/nextcloud/desktop.git
synced 2024-12-15 18:21:35 +03:00
Poll URL: Don't delete from DB in case of 503
This commit is contained in:
parent
6e0330ff65
commit
2aef6a2174
1 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,8 @@ bool PollJob::finished()
|
|||
_item._status = classifyError(err, _item._httpErrorCode);
|
||||
_item._errorString = reply()->errorString();
|
||||
if (_item._status == SyncFileItem::FatalError || _item._httpErrorCode >= 400) {
|
||||
if (_item._status != SyncFileItem::FatalError) {
|
||||
if (_item._status != SyncFileItem::FatalError
|
||||
&& _item._httpErrorCode != 503) {
|
||||
SyncJournalDb::PollInfo info;
|
||||
info._file = _item._file;
|
||||
// no info._url removes it from the database
|
||||
|
|
Loading…
Reference in a new issue