Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
Merge pull request #10070 from EOSIO/keke_epe436_mergeback2.1.x
Browse files Browse the repository at this point in the history
mergeback PR10059 Cleos print error message from server when parse json failed
  • Loading branch information
softprofe authored Feb 19, 2021
2 parents 14fc676 + 1b683b0 commit 8686ee5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions programs/cleos/httpc.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ namespace eosio { namespace client { namespace http {
response_result = fc::json::from_string(re);
} catch(...) {
// re reported below if print_response requested
print_response = true;
}

if( print_response ) {
Expand Down

0 comments on commit 8686ee5

Please sign in to comment.