Skip to content

Commit 5fa2e5f

Browse files
committed
update
1 parent 6a637d6 commit 5fa2e5f

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

flutter/lib/src/native/cocoa/sentry_native_cocoa.dart

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -54,20 +54,6 @@ class SentryNativeCocoa extends SentryNativeChannel {
5454
return super.init(hub);
5555
}
5656

57-
// private func captureEnvelope(_ call: FlutterMethodCall, result: @escaping FlutterResult) {
58-
// guard let arguments = call.arguments as? [Any],
59-
// !arguments.isEmpty,
60-
// let data = (arguments.first as? FlutterStandardTypedData)?.data else {
61-
// print("Envelope is null or empty!")
62-
// result(FlutterError(code: "2", message: "Envelope is null or empty", details: nil))
63-
// return
64-
// }
65-
// guard let envelope = PrivateSentrySDKOnly.envelope(with: data) else {
66-
// print("Cannot parse the envelope data")
67-
// result(FlutterError(code: "3", message: "Cannot parse the envelope data", details: nil))
68-
// return
69-
// }
70-
7157
@override
7258
FutureOr<void> captureEnvelope(
7359
Uint8List envelopeData, bool containsUnhandledException) {

0 commit comments

Comments
 (0)