From 71d12148c8c51e43fe538cde39ed073b4292d4a2 Mon Sep 17 00:00:00 2001 From: Junxiao Shi Date: Sat, 23 Jul 2016 20:10:18 +0000 Subject: [PATCH] daemon: display extended exception information in NfdRunner::run refs #2541 Change-Id: I1fdc22571e7bce74d430b7938951170765b72bff --- daemon/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/main.cpp b/daemon/main.cpp index 0701ff89..3a827c3e 100644 --- a/daemon/main.cpp +++ b/daemon/main.cpp @@ -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) {