1
0
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:
Vanshdeep Singh 2018-04-16 17:36:37 +02:00 committed by vrde
parent a62cd68f8c
commit 0cf0927193

View File

@ -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']