daemon: display extended exception information in NfdRunner::run

refs #2541

Change-Id: I1fdc22571e7bce74d430b7938951170765b72bff
This commit is contained in:
Junxiao Shi committed 2016-07-23 20:10:18 +00:00
1 parent d23de8b9ef
commit 71d12148c8
1 file changed
+2 -2
+2 -2
View File
@@ -53,7 +53,7 @@ NFD_LOG_INIT("NFD");
/** \brief Executes NFD with RIB manager
*
* NFD (main forwarding procedure) and RIB manager execute in two different threads.
* Each thread has its own instances global io_service and global scheduler.
* Each thread has its own instances of global io_service and global scheduler.
*
* When either of the daemons fails, execution of non-failed daemon will be terminated as
* well. In other words, when NFD fails, RIB manager will be terminated; when RIB manager
@@ -168,7 +168,7 @@ public:
mainIo->run();
}
catch (const std::exception& e) {
NFD_LOG_FATAL(e.what());
NFD_LOG_FATAL(getExtendedErrorMessage(e));
retval = 4;
}
catch (const PrivilegeHelper::Error& e) {