diff --git a/src/cutecoin/gui/wot_tab.py b/src/cutecoin/gui/wot_tab.py index 3b5f4e111d447b2e78d1b270d90e30b44b3c835c..94785709c2268543acecdd925f33de4492a3138d 100644 --- a/src/cutecoin/gui/wot_tab.py +++ b/src/cutecoin/gui/wot_tab.py @@ -79,6 +79,10 @@ class WotTabWidget(QWidget, Ui_WotTabWidget): self.graphicsView.scene().update_wot(graph) return False + except Exception as e: + logging.debug('bma.wot.CertifiersOf request error : ' + str(e)) + return False + #Â add wallet node node_status = 0 if public_key == self.account.pubkey: @@ -197,8 +201,12 @@ class WotTabWidget(QWidget, Ui_WotTabWidget): if len(text) < 2: return False + try: + response = self.community.request(bma.wot.Lookup, {'search': text}) + except Exception as e: + logging.debug('bma.wot.Lookup request error : ' + str(e)) + return False - response = self.community.request(bma.wot.Lookup, {'search': text}) nodes = {} for identity in response['results']: nodes[identity['pubkey']] = identity['uids'][0]['uid']