SyncEngine: Don't duplicate fatal errors
authorChristian Kamm <mail@ckamm.de>
Tue, 30 Jul 2019 11:40:52 +0000 (13:40 +0200)
committerKevin Ottens <kevin.ottens@nextcloud.com>
Tue, 15 Dec 2020 09:58:54 +0000 (10:58 +0100)
commit5761f4cd8aeb31c2b58e1e00d6ff72caa56dd8c7
tree96159023c0bef5a01c194109738b9ad1257a41dc
parent61972c35a8be6eccddb67787dcbaba7e98599bc2
SyncEngine: Don't duplicate fatal errors

Previously fatal error texts were duplicated: Once they entered the
SyncResult via the SyncFileItem and once via syncError().

syncError is intended for folder-wide sync issues that are not pinned
to particular files. Thus that duplicated path is removed.

For #5088
src/libsync/syncengine.cpp