change many str(e) to repr(e) as some exceptions were cryptic
it's often valuable to see the type of the exception (especially as for some exceptions str(e) == '')
This commit is contained in:
@@ -199,7 +199,7 @@ class ElectrumGui:
|
||||
tx = self.wallet.mktx([TxOutput(TYPE_ADDRESS, self.str_recipient, amount)],
|
||||
password, self.config, fee)
|
||||
except Exception as e:
|
||||
print(str(e))
|
||||
print(repr(e))
|
||||
return
|
||||
|
||||
if self.str_description:
|
||||
|
||||
Reference in New Issue
Block a user