From 8966958106eadab8b9da65baa5cd81a787af03f5 Mon Sep 17 00:00:00 2001 From: Dhiogo Brustolin Date: Mon, 26 Aug 2024 13:39:19 +0200 Subject: [PATCH] Update SentrySerialization.m --- Sources/Sentry/SentrySerialization.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }