Display thread list api errors

This commit is contained in:
ismailgulek 2022-02-15 15:46:22 +03:00
parent 6b2f5277c7
commit 5967e7fbb6
No known key found for this signature in database
GPG key ID: E96336D42D9470A9

View file

@ -269,6 +269,7 @@ final class ThreadListViewModel: ThreadListViewModelProtocol {
self.threadsLoaded()
case .failure(let error):
MXLog.error("[ThreadListViewModel] loadData: error: \(error)")
self.viewState = .error(error)
}
}
}