1
0

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:
SomberNight
2019-07-17 20:12:52 +02:00
parent 40e2b1d6e7
commit f60f690ca9
26 changed files with 48 additions and 48 deletions

View File

@@ -362,7 +362,7 @@ class ElectrumGui:
tx = self.wallet.mktx([TxOutput(TYPE_ADDRESS, self.str_recipient, amount)],
password, self.config, fee)
except Exception as e:
self.show_message(str(e))
self.show_message(repr(e))
return
if self.str_description: