removed custom error message, information is added to error->one() call

This commit is contained in:
Rene Halver
2018-07-13 08:49:47 -06:00
parent cdf091f228
commit 6cfdcd1000

View File

@ -439,7 +439,6 @@ bool FixScafacos::check_result(FCSResult result, int comm_rank)
{ {
if (result) if (result)
{ {
fprintf(stdout,"ScaFaCoS Error: Caught error on task %d.\n", comm_rank);
std::string err_msg; std::string err_msg;
std::stringstream ss; std::stringstream ss;
@ -447,7 +446,7 @@ bool FixScafacos::check_result(FCSResult result, int comm_rank)
<< fcs_result_get_message(result) << "\n"; << fcs_result_get_message(result) << "\n";
err_msg = ss.str(); err_msg = ss.str();
error -> one(FLERR, err_msg.c_str()); error->one(FLERR, err_msg.c_str());
fcs_result_destroy(result); fcs_result_destroy(result);
} }
return true; return true;