diff --git a/Sources/Sentry/SentrySerialization.m b/Sources/Sentry/SentrySerialization.m index b6b45fdb86..507490bf0d 100644 --- a/Sources/Sentry/SentrySerialization.m +++ b/Sources/Sentry/SentrySerialization.m @@ -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; }