git://git.novaco.in
/
electrum-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
6d12690
)
display error message
author
ThomasV
<thomasv@gitorious>
Sun, 6 May 2012 15:12:01 +0000 (19:12 +0400)
committer
ThomasV
<thomasv@gitorious>
Sun, 6 May 2012 15:12:01 +0000 (19:12 +0400)
backends/abe/__init__.py
patch
|
blob
|
history
diff --git
a/backends/abe/__init__.py
b/backends/abe/__init__.py
index
cba7167
..
1ba8a35
100644
(file)
--- a/
backends/abe/__init__.py
+++ b/
backends/abe/__init__.py
@@
-344,7
+344,8
@@
class AbeStore(Datastore_class):
respdata = urllib.urlopen(self.bitcoind_url, postdata).read()
r = loads(respdata)
if r['error'] != None:
- out = "error: transaction rejected by memorypool\n"+tx
+ msg = r['error'].get('message')
+ out = "error: transaction rejected by memorypool: " + msg + "\n" + tx
else:
out = r['result']
return out