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 e5a5038 commit 8966958
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, (long)(i + 1));
(unsigned long)data.length, (unsigned long)bodyLength, (long)(i + 1));
return nil;
}

Expand Down

0 comments on commit 8966958

Please sign in to comment.