aboutsummaryrefslogtreecommitdiff
path: root/src/daemonizer/posix_fork.cpp
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2016-03-21 12:55:37 +0200
committerRiccardo Spagni <ric@spagni.net>2016-03-21 12:55:37 +0200
commit0b4e75026a36a48adaff9f6973be3ab882548599 (patch)
tree18d3ab32dfd303b6256c0571cfd9d893db858531 /src/daemonizer/posix_fork.cpp
parentMerge pull request #738 (diff)
parentRevert "Print stack trace upon exceptions" (diff)
downloadmonero-0b4e75026a36a48adaff9f6973be3ab882548599.tar.xz
Merge pull request #740
f7301c3 Revert "Print stack trace upon exceptions" (moneromooo-monero)
Diffstat (limited to 'src/daemonizer/posix_fork.cpp')
-rw-r--r--src/daemonizer/posix_fork.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/daemonizer/posix_fork.cpp b/src/daemonizer/posix_fork.cpp
index 84ff88869..c068912ec 100644
--- a/src/daemonizer/posix_fork.cpp
+++ b/src/daemonizer/posix_fork.cpp
@@ -4,7 +4,6 @@
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
-#include "common/exception.h"
#include "daemonizer/posix_fork.h"
#include "misc_log_ex.h"
@@ -21,7 +20,7 @@ namespace {
void quit(std::string const & message)
{
LOG_ERROR(message);
- throw tools::runtime_error(message);
+ throw std::runtime_error(message);
}
}