diff --git a/packages/core/ios/RNSentryNativeLogsForwarder.m b/packages/core/ios/RNSentryNativeLogsForwarder.m index 1125796882..e7e3c630c1 100644 --- a/packages/core/ios/RNSentryNativeLogsForwarder.m +++ b/packages/core/ios/RNSentryNativeLogsForwarder.m @@ -47,9 +47,8 @@ - (void)stopForwarding { self.eventEmitter = nil; - // TODO: Ideally we should save the previous output block in configureWithEventEmitter: - // and restore it here instead of hardcoding NSLog. - // Reset to default print behavior + // cocoa exposes no public getter for the current SentrySDKLog output, so we reset to the + // default NSLog print behavior rather than restoring the previous block. [SentrySDKLog setOutput:^(NSString *_Nonnull message) { NSLog(@"%@", message); }]; } diff --git a/packages/core/src/js/tools/sentryMetroSerializer.ts b/packages/core/src/js/tools/sentryMetroSerializer.ts index 1c0069ae9b..70e3949815 100644 --- a/packages/core/src/js/tools/sentryMetroSerializer.ts +++ b/packages/core/src/js/tools/sentryMetroSerializer.ts @@ -47,7 +47,6 @@ export function unstableBeforeAssetSerializationDebugIdPlugin({ return prependModule(premodules, debugIdModule); } -// TODO: deprecate this and afterwards rename to createSentryDebugIdSerializer /** * Creates a Metro serializer that adds Debug ID module to the plain bundle. * The Debug ID module is a virtual module that provides a debug ID in runtime. diff --git a/packages/core/src/js/transports/native.ts b/packages/core/src/js/transports/native.ts index e2c8d28b70..b7aef82a6d 100644 --- a/packages/core/src/js/transports/native.ts +++ b/packages/core/src/js/transports/native.ts @@ -33,7 +33,8 @@ export class NativeTransport implements Transport { * @param envelope Envelope that should be sent to Sentry. */ public send(envelope: Envelope): PromiseLike { - // TODO: We currently can't retrieve the response information from native + // The native SDK owns the transport and doesn't expose the HTTP response, so there's + // no response info to return. return this._buffer.add(() => NATIVE.sendEnvelope(envelope)).then(() => ({})); }