Skip to content

Commit 03393fa

Browse files
andriydrukAnton Pogonets
authored and
Anton Pogonets
committed
Dev: remove NSLocalizedString in HTTPURLProtocol
1 parent 9028161 commit 03393fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/URLSession/http/HTTPURLProtocol.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ internal extension _HTTPURLProtocol {
343343
NSUnderlyingErrorKey: error,
344344
NSURLErrorFailingURLErrorKey: $0,
345345
NSURLErrorFailingURLStringErrorKey: $0.absoluteString,
346-
NSLocalizedDescriptionKey: NSLocalizedString(error.localizedDescription, comment: "N/A")
346+
NSLocalizedDescriptionKey: error.localizedDescription
347347
]
348348
}
349349
let urlError = URLError(_nsError: NSError(domain: NSURLErrorDomain, code: error.code, userInfo: userInfo))

0 commit comments

Comments
 (0)