mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-01 09:50:16 +00:00
Add operation column that says what the app was actually doing.
This commit is contained in:
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
|
||||
]
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user