mirror of
https://github.com/rclone/rclone.git
synced 2025-08-17 17:11:37 +02:00
sync: log when we abandon the sync due to a fatal error
This commit is contained in:
@@ -164,6 +164,7 @@ func (s *syncCopyMove) processError(err error) {
|
||||
switch {
|
||||
case fserrors.IsFatalError(err):
|
||||
if !s.aborting() {
|
||||
fs.Errorf(nil, "Cancelling sync due to fatal error: %v", err)
|
||||
s.cancel()
|
||||
}
|
||||
s.fatalErr = err
|
||||
|
Reference in New Issue
Block a user