Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Philipp Hofmann <[email protected]>
  • Loading branch information
brustolin and philipphofmann authored Feb 21, 2024
1 parent 2cab983 commit e39d660
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Sources/Sentry/SentryMsgPackSerializer.m
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ - (NSInteger)streamSize
NSDictionary *attributes = [fileManager attributesOfItemAtPath:self.path error:&error];
if (attributes == nil) {
SENTRY_LOG_DEBUG(@"Could not read file attributes - File: %@ - %@", self, error);
return -1;
}
NSNumber *fileSize = attributes[NSFileSize];
return [fileSize unsignedIntegerValue];
Expand Down

0 comments on commit e39d660

Please sign in to comment.