Skip to content
Snippets Groups Projects
Commit db38ec77 authored by inso's avatar inso
Browse files

Throw an error on loading if no peer available exception is thrown

parent f1083ff9
No related branches found
No related tags found
No related merge requests found
......@@ -46,6 +46,9 @@ class Loader(QObject):
except requests.exceptions.RequestException as e:
self.connection_error.emit(str(e))
self.loaded.emit()
except NoPeerAvailable as e:
self.connection_error.emit(str(e))
self.loaded.emit()
self.loaded.emit()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment