Skip to content

Commit

Permalink
Append build number to crashes
Browse files Browse the repository at this point in the history
  • Loading branch information
graeme committed Oct 16, 2023
1 parent 89cd93f commit 329513a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Sources/Crashes/CrashCollection.swift
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

import Foundation
import MetricKit
import Common

@available(iOSApplicationExtension, unavailable)
@available(iOS 13, macOS 12, *)
Expand All @@ -41,7 +42,7 @@ public struct CrashCollection {
.flatMap { $0 }
.forEach {
completion([
"appVersion": $0.applicationVersion,
"appVersion": "\($0.applicationVersion).\($0.metaData.applicationBuildVersion)",
"code": "\($0.exceptionCode ?? -1)",
"type": "\($0.exceptionType ?? -1)",
"signal": "\($0.signal ?? -1)"
Expand Down

0 comments on commit 329513a

Please sign in to comment.