Skip to content

Commit

Permalink
Display thread list api errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailgulek committed Feb 15, 2022
1 parent 6b2f527 commit 5967e7f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Riot/Modules/Threads/ThreadList/ThreadListViewModel.swift
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,7 @@ final class ThreadListViewModel: ThreadListViewModelProtocol {
self.threadsLoaded()
case .failure(let error):
MXLog.error("[ThreadListViewModel] loadData: error: \(error)")
self.viewState = .error(error)
}
}
}
Expand Down

0 comments on commit 5967e7f

Please sign in to comment.