Show errors during loading
This commit is contained in:
@ -313,7 +313,9 @@ final class Storage: ObservableObject {
|
||||
- Returns: A dictionary with the file ids as keys and the metadata file as a value.
|
||||
*/
|
||||
func loadAllFiles() -> [String : (data: FileResource.Data, isExternal: Bool)]? {
|
||||
guard let contentScope else { return nil }
|
||||
guard let contentScope else {
|
||||
return nil
|
||||
}
|
||||
guard let list: [String : FileResource.Data] = contentScope.decodeJsonFiles(in: fileInfoFolderName) else {
|
||||
return nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user