Merge branch 'master' of https://github.com/brentsimmons/NetNewsWire
This commit is contained in:
commit
def926206d
@ -48,8 +48,8 @@ public enum AccountError: LocalizedError {
|
|||||||
case .wrappedError(let error, _):
|
case .wrappedError(let error, _):
|
||||||
switch error {
|
switch error {
|
||||||
case TransportError.httpError(let status):
|
case TransportError.httpError(let status):
|
||||||
if status == 401 {
|
if status == 401 || status == 403 {
|
||||||
return NSLocalizedString("Please update your credentials for this account.", comment: "Try later")
|
return NSLocalizedString("Please update your credentials for this account, or ensure that your account with this service is still valid.", comment: "Expired credentials")
|
||||||
} else {
|
} else {
|
||||||
return NSLocalizedString("Please try again later.", comment: "Try later")
|
return NSLocalizedString("Please try again later.", comment: "Try later")
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user