mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-12-02 02:22:25 +00:00
Set the lastResponseCode in the case of 4xx and 5xx.
This commit is contained in:
1 parent
9fdce8612d
commit
43a1442bf4
1 file changed
+2
@@ -346,6 +346,8 @@ import os
|
||||
return
|
||||
}
|
||||
|
||||
feed.lastResponseCode = statusCode
|
||||
|
||||
let transportError = TransportError.httpError(status: statusCode)
|
||||
let statusDescription = transportError.localizedDescription
|
||||
let errorMessage = "HTTP \(statusCode) \(statusDescription): \(url.absoluteString)"
|
||||
|
||||
Reference in new issue
Block a user