mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 17:29:23 +00:00
Use a constant logging system name instead of getting it from Bundle.
This commit is contained in:
1 parent
f4723bc32d
commit
6d259827f0
50 files changed
+92
-50
No files matched your search
@@ -12,7 +12,7 @@ import RSCore
|
||||
|
||||
struct ErrorHandler: Sendable {
|
||||
|
||||
private static let logger = Logger(subsystem: Bundle.main.bundleIdentifier!, category: "ErrorHandler")
|
||||
private static let logger = Logger(subsystem: Logger.nnwSubsystem, category: "ErrorHandler")
|
||||
|
||||
@Sendable public static func present(_ viewController: UIViewController) -> @Sendable (Error) -> Void {
|
||||
return { [weak viewController] error in
|
||||
|
||||
Reference in new issue
Block a user