Fix serializing the nodeinfo version instead of the software version in breadcrumb

This commit is contained in:
Shadowfacts 2022-12-05 22:24:33 -05:00
parent 13d649bace
commit 7904462920
1 changed files with 2 additions and 2 deletions

View File

@ -257,8 +257,8 @@ private func setInstanceBreadcrumb(instance: Instance, nodeInfo: NodeInfo?) {
] ]
if let nodeInfo { if let nodeInfo {
crumb.data!["nodeInfo"] = [ crumb.data!["nodeInfo"] = [
"version": nodeInfo.version, "software": nodeInfo.software.name,
"software": nodeInfo.software, "version": nodeInfo.software.version,
] ]
} }
SentrySDK.addBreadcrumb(crumb: crumb) SentrySDK.addBreadcrumb(crumb: crumb)