Skip to content

Commit 216dddf

Browse files
committed
Disabled sentry events for errors
1 parent 1707db3 commit 216dddf

File tree

3 files changed

+4
-24
lines changed

3 files changed

+4
-24
lines changed

BitBotATVTests/BitBotATVTests.swift

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -10,24 +10,4 @@ import XCTest
1010

1111
class BitBotATVTests: XCTestCase {
1212

13-
override func setUpWithError() throws {
14-
// Put setup code here. This method is called before the invocation of each test method in the class.
15-
}
16-
17-
override func tearDownWithError() throws {
18-
// Put teardown code here. This method is called after the invocation of each test method in the class.
19-
}
20-
21-
func testExample() throws {
22-
// This is an example of a functional test case.
23-
// Use XCTAssert and related functions to verify your tests produce the correct results.
24-
}
25-
26-
func testPerformanceExample() throws {
27-
// This is an example of a performance test case.
28-
measure {
29-
// Put the code you want to measure the time of here.
30-
}
31-
}
32-
3313
}

Bitrise/Environment/BRAnalytics.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ - (void)sendEvent:(BRAnalyticsEvent *)name properties:(NSDictionary *)properties
188188
- (void)sendError:(NSError *)error {
189189
[SentrySDK captureError:error];
190190

191-
SentryEvent *event = [[SentryEvent alloc] initWithError:error];
192-
event.message = [[SentryMessage alloc] initWithFormatted:error.localizedDescription];
193-
[SentrySDK captureEvent:event];
191+
// SentryEvent *event = [[SentryEvent alloc] initWithError:error];
192+
// event.message = [[SentryMessage alloc] initWithFormatted:error.localizedDescription];
193+
// [SentrySDK captureEvent:event];
194194
}
195195

196196
@end

Bitrise/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<key>CFBundleShortVersionString</key>
2424
<string>$(MARKETING_VERSION)</string>
2525
<key>CFBundleVersion</key>
26-
<string>2092</string>
26+
<string>2094</string>
2727
<key>LSApplicationCategoryType</key>
2828
<string>public.app-category.developer-tools</string>
2929
<key>LSMinimumSystemVersion</key>

0 commit comments

Comments
 (0)