Add operation column that says what the app was actually doing.

This commit is contained in:
Brent Simmons committed 2026-03-12 20:19:49 -07:00
1 parent 21907eef6e
commit 3587b5eba0
6 files changed
+39 -25

No files matched your search

@@ -18,12 +18,14 @@ public struct ErrorLogUserInfoKey {
public static let sourceName = "sourceName"
public static let sourceID = "sourceID" // 0-99 are AccountType raw values. 100 and greater are for other components.
public static let operation = "operation"
public static let errorMessage = "errorMessage"
public static func userInfo(sourceName: String, sourceID: Int, errorMessage: String) -> [String: Any] {
public static func userInfo(sourceName: String, sourceID: Int, operation: String, errorMessage: String) -> [String: Any] {
[
Self.sourceName: sourceName,
Self.sourceID: sourceID,
Self.operation: operation,
Self.errorMessage: errorMessage
]
}