From 7904462920db3629f1b39837852f45685a239adc Mon Sep 17 00:00:00 2001 From: Shadowfacts Date: Mon, 5 Dec 2022 22:24:33 -0500 Subject: [PATCH] Fix serializing the nodeinfo version instead of the software version in breadcrumb --- Tusker/API/InstanceFeatures.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tusker/API/InstanceFeatures.swift b/Tusker/API/InstanceFeatures.swift index 20532507bc..1eec3da515 100644 --- a/Tusker/API/InstanceFeatures.swift +++ b/Tusker/API/InstanceFeatures.swift @@ -257,8 +257,8 @@ private func setInstanceBreadcrumb(instance: Instance, nodeInfo: NodeInfo?) { ] if let nodeInfo { crumb.data!["nodeInfo"] = [ - "version": nodeInfo.version, - "software": nodeInfo.software, + "software": nodeInfo.software.name, + "version": nodeInfo.software.version, ] } SentrySDK.addBreadcrumb(crumb: crumb)