dont report error.what() when returning rpcINTERNAL (#163)

This commit is contained in:
Nathan Nichols
2022-06-02 16:41:09 -05:00
committed by GitHub
parent ee615a290b
commit af575b1bcf

View File

@@ -238,7 +238,7 @@ buildResponse(Context const& ctx)
{
BOOST_LOG_TRIVIAL(error)
<< __func__ << " caught exception : " << err.what();
return Status{Error::rpcINTERNAL, err.what()};
return Status{Error::rpcINTERNAL};
}
}