Log the error response in the qdata utility if broadcasting a transaction fails.

This commit is contained in:
CalDescent 2021-10-29 17:26:40 +01:00
parent dcdc48d917
commit c63d238316

View File

@ -59,6 +59,7 @@ if [[ "${method}" == "PUT" || "${method}" == "PATCH" ]]; then
echo "Transaction broadcast successfully" echo "Transaction broadcast successfully"
else else
echo "Error when broadcasting transaction. Please try again." echo "Error when broadcasting transaction. Please try again."
echo "Response: ${success}"
fi fi
elif [[ "${method}" == "GET" ]]; then elif [[ "${method}" == "GET" ]]; then