Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Unreleased
- Cancel upload operation when background task expires.
- Log error when handling directory enumeration.

# v10.1.0
- Fix `[FBLPromise HTTPBody]` SwiftUI Previews crash when using binary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
*/

#import "GoogleDataTransport/GDTCORLibrary/Internal/GDTCORDirectorySizeTracker.h"
#import "GoogleDataTransport/GDTCORLibrary/Public/GoogleDataTransport/GDTCORConsoleLogger.h"

@interface GDTCORDirectorySizeTracker ()

Expand Down Expand Up @@ -76,6 +77,9 @@ - (GDTCORStorageSizeBytes)calculateDirectoryContentSize {
includingPropertiesForKeys:prefetchedProperties
options:NSDirectoryEnumerationSkipsHiddenFiles
errorHandler:^BOOL(NSURL *_Nonnull url, NSError *_Nonnull error) {
GDTCORLogWarning(GDTCORMCWFileReadError,
@"Error enumerating content size for URL %@: %@", url,
error);
return YES;
}];

Expand Down