Skip to content

Commit

Permalink
Update SentrySerialization.m
Browse files Browse the repository at this point in the history
  • Loading branch information
brustolin committed Aug 26, 2024
1 parent afef633 commit e5a5038
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Sentry/SentrySerialization.m
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ + (SentryEnvelope *_Nullable)envelopeWithData:(NSData *)data
if (bodyLength > 0 && data.length < (i + 1 + bodyLength)) {
SENTRY_LOG_ERROR(@"Envelope is corrupted or has invalid data. Trying to read %li "
@"bytes by skiping %li from a buffer of %li bytes.",
(unsigned long)data.length, bodyLength, i + 1);
(unsigned long)data.length, bodyLength, (long)(i + 1));
return nil;
}

Expand Down

0 comments on commit e5a5038

Please sign in to comment.