Suppress error message when CLI is quitting
This commit is contained in:
parent
ed3f1c86dd
commit
382970bfa4
1 changed files with 1 additions and 2 deletions
|
|
@ -140,8 +140,6 @@ void cli::run()
|
||||||
}
|
}
|
||||||
catch ( const fc::exception& e )
|
catch ( const fc::exception& e )
|
||||||
{
|
{
|
||||||
std::cout << e.to_detail_string() << "\n";
|
|
||||||
|
|
||||||
if (e.code() == fc::canceled_exception_code)
|
if (e.code() == fc::canceled_exception_code)
|
||||||
{
|
{
|
||||||
if( _getline_thread )
|
if( _getline_thread )
|
||||||
|
|
@ -151,6 +149,7 @@ void cli::run()
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
std::cout << e.to_detail_string() << "\n";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue