diff --git a/src/rpc/cli.cpp b/src/rpc/cli.cpp index fe2e462..414f399 100644 --- a/src/rpc/cli.cpp +++ b/src/rpc/cli.cpp @@ -140,8 +140,6 @@ void cli::run() } catch ( const fc::exception& e ) { - std::cout << e.to_detail_string() << "\n"; - if (e.code() == fc::canceled_exception_code) { if( _getline_thread ) @@ -151,6 +149,7 @@ void cli::run() } break; } + std::cout << e.to_detail_string() << "\n"; } } }