Skip to content

Commit

Permalink
Merge pull request #536 from eosnetworkfoundation/print_non_json_error
Browse files Browse the repository at this point in the history
[3.2] CLEOS -- prints out non-JSON formatted HTTP responses
  • Loading branch information
linh2931 authored Jun 25, 2022
2 parents 161c8da + b4edcfa commit f5615f2
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 f5615f2

Please sign in to comment.