Skip to content

Commit 094368b

Browse files
committed
Another warning to be written in the log
1 parent e061fed commit 094368b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mergin/merginproject.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -528,6 +528,7 @@ def apply_push_changes(self, changes):
528528
patch_error = self.apply_diffs(basefile, [changeset])
529529
if patch_error:
530530
# in case of local sync issues it is safier to remove basefile, next time it will be downloaded from server
531+
self.log.warning("removing basefile (because of apply diff error) for: " + path)
531532
os.remove(basefile)
532533
else:
533534
pass

0 commit comments

Comments
 (0)