mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-06-28 00:27:45 +02:00
Problem: No debug statement for post transaction (#2213)
Solution: write debug statement for response received from POST transaction
This commit is contained in:
parent
a62cd68f8c
commit
0cf0927193
|
@ -61,6 +61,7 @@ class BigchainDB(Bigchain):
|
|||
return self._process_post_response(response.json(), mode)
|
||||
|
||||
def _process_post_response(self, response, mode):
|
||||
logger.debug(response)
|
||||
result = response['result']
|
||||
if mode == MODE_LIST[1]:
|
||||
status_code = result['check_tx']['code']
|
||||
|
|
Loading…
Reference in New Issue
Block a user