Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
- Change default attributes of Logs to only include user attributes when `options.sendDefaultPii = true` (#7055)
- Rename log attribute `sentry.trace.parent_span_id` to `span_id` (#7055)
- Fixes stacktraces for MetricKit events (#6908)
- Fix `raw_description` in `runtime` context on Mac Catalyst (#7082)

## 9.1.0

Expand Down
2 changes: 1 addition & 1 deletion Sources/Swift/SentryCrash/SentryCrashWrapper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ public final class SentryCrashWrapper: NSObject {

if self.processInfoWrapper.isMacCatalystApp {
runtimeContext["name"] = "Mac Catalyst App"
runtimeContext["raw_description"] = "raw_description"
runtimeContext["raw_description"] = "mac-catalyst-app"
Comment thread
philprime marked this conversation as resolved.
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ final class SentryCrashWrapperTests: XCTestCase {

let runtimeContext = try XCTUnwrap(scope.contextDictionary["runtime"] as? [String: Any])
XCTAssertEqual(runtimeContext["name"] as? String, "Mac Catalyst App")
XCTAssertEqual(runtimeContext["raw_description"] as? String, "raw_description")
XCTAssertEqual(runtimeContext["raw_description"] as? String, "mac-catalyst-app")
#endif
}
}
2 changes: 1 addition & 1 deletion Tests/SentryTests/SentryHubTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class SentryHubTests: XCTestCase {
// Assert
let runtimeContext = try XCTUnwrap (hub.scope.contextDictionary["runtime"] as? [String: String])
XCTAssertEqual(runtimeContext["name"], "Mac Catalyst App")
XCTAssertEqual(runtimeContext["raw_description"], "raw_description")
XCTAssertEqual(runtimeContext["raw_description"], "mac-catalyst-app")
}

func testScopeNotEnriched_WhenScopeIsNil() {
Expand Down
Loading