mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2025-01-27 09:21:21 +01:00
Change Feedbin to always check the error from Account.update.
This commit is contained in:
parent
d17a0699d6
commit
7192a6893e
@ -1150,8 +1150,11 @@ private extension FeedbinAccountDelegate {
|
||||
switch result {
|
||||
case .success(let entries):
|
||||
|
||||
self.processEntries(account: account, entries: entries) { _ in
|
||||
self.processEntries(account: account, entries: entries) { error in
|
||||
group.leave()
|
||||
if error != nil {
|
||||
errorOccurred = true
|
||||
}
|
||||
}
|
||||
|
||||
case .failure(let error):
|
||||
@ -1188,8 +1191,14 @@ private extension FeedbinAccountDelegate {
|
||||
switch result {
|
||||
case .success(let (entries, nextPage)):
|
||||
|
||||
self.processEntries(account: account, entries: entries) { _ in
|
||||
self.processEntries(account: account, entries: entries) { error in
|
||||
self.refreshProgress.completeTask()
|
||||
|
||||
if let error = error {
|
||||
completion(.failure(error))
|
||||
return
|
||||
}
|
||||
|
||||
self.refreshArticles(account, page: nextPage, updateFetchDate: updateFetchDate, completion: completion)
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user