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

More verbose logging

parent 519fbaef
Branches
Tags
No related merge requests found
...@@ -302,7 +302,8 @@ class Node(QObject): ...@@ -302,7 +302,8 @@ class Node(QObject):
except ValueError as e: except ValueError as e:
if '404' in str(e): if '404' in str(e):
self.main_chain_previous_block = None self.main_chain_previous_block = None
logging.debug("Error in block reply") logging.debug("Error in previous block reply : {0}".format(self.pubkey))
logging.debug(str(e))
self.changed.emit() self.changed.emit()
except ClientError: except ClientError:
logging.debug("Client error : {0}".format(self.pubkey)) logging.debug("Client error : {0}".format(self.pubkey))
...@@ -319,7 +320,8 @@ class Node(QObject): ...@@ -319,7 +320,8 @@ class Node(QObject):
if '404' in str(e): if '404' in str(e):
self.main_chain_previous_block = None self.main_chain_previous_block = None
self.set_block(None) self.set_block(None)
logging.debug("Error in block reply") logging.debug("Error in block reply : {0}".format(self.pubkey))
logging.debug(str(e))
self.changed.emit() self.changed.emit()
except ClientError: except ClientError:
logging.debug("Client error : {0}".format(self.pubkey)) logging.debug("Client error : {0}".format(self.pubkey))
......
...@@ -163,10 +163,6 @@ class IdentitiesTabWidget(QWidget, Ui_IdentitiesTab): ...@@ -163,10 +163,6 @@ class IdentitiesTabWidget(QWidget, Ui_IdentitiesTab):
@asyncify @asyncify
@asyncio.coroutine @asyncio.coroutine
def send_money_to_identity(self, identity): def send_money_to_identity(self, identity):
if isinstance(identity, str):
pubkey = identity
else:
pubkey = identity.pubkey
result = yield from TransferMoneyDialog.send_money_to_identity(self.app, self.account, self.password_asker, result = yield from TransferMoneyDialog.send_money_to_identity(self.app, self.account, self.password_asker,
self.community, identity) self.community, identity)
if result == QDialog.Accepted: if result == QDialog.Accepted:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment