mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-21 20:45:51 +03:00
Improve error handling in fetchContents if path is not available FileProviderExtension
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
68044891f0
commit
7863ba8594
1 changed files with 1 additions and 0 deletions
|
@ -196,6 +196,7 @@ class FileProviderExtension: NSObject, NSFileProviderReplicatedExtension, NKComm
|
|||
}
|
||||
} catch let error {
|
||||
NSLog("Could not find local path for file %@, received error: %@", metadata.fileNameView, error.localizedDescription)
|
||||
completionHandler(nil, nil, NSFileProviderError(.cannotSynchronize))
|
||||
}
|
||||
|
||||
return progress
|
||||
|
|
Loading…
Reference in a new issue