Refactor RPCSub to remove Application dependency

This commit is contained in:
Vinnie Falco
2013-08-31 21:35:30 -07:00
parent 1391a11e46
commit 01fda4c30e
4 changed files with 21 additions and 7 deletions

View File

@@ -631,7 +631,8 @@ public:
catch (const std::exception& e)
{
// Must run as directed or exit.
WriteLog (lsFATAL, Application) << boost::str (boost::format ("Can not open RPC service: %s") % e.what ());
WriteLog (lsFATAL, Application) <<
"Can not open RPC service: " << e.what ();
exit (3);
}