diff options
author | Riccardo Spagni <ric@spagni.net> | 2016-03-20 21:25:24 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2016-03-20 21:25:24 +0200 |
commit | b72f143724f07c52c6688d792ebd20f25f104d37 (patch) | |
tree | d138554a5a13e650f45f3d8d4b8bd0c9c1748235 /src/daemon/rpc.h | |
parent | Merge pull request #732 (diff) | |
parent | Print stack trace upon exceptions (diff) | |
download | monero-b72f143724f07c52c6688d792ebd20f25f104d37.tar.xz |
Merge pull request #733
fff238e Print stack trace upon exceptions (moneromooo-monero)
Diffstat (limited to 'src/daemon/rpc.h')
-rw-r--r-- | src/daemon/rpc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/daemon/rpc.h b/src/daemon/rpc.h index bfd2afd84..caeae9a3d 100644 --- a/src/daemon/rpc.h +++ b/src/daemon/rpc.h @@ -55,7 +55,7 @@ public: LOG_PRINT_L0("Initializing core rpc server..."); if (!m_server.init(vm)) { - throw std::runtime_error("Failed to initialize core rpc server."); + throw tools::runtime_error("Failed to initialize core rpc server."); } LOG_PRINT_GREEN("Core rpc server initialized OK on port: " << m_server.get_binded_port(), LOG_LEVEL_0); } @@ -65,7 +65,7 @@ public: LOG_PRINT_L0("Starting core rpc server..."); if (!m_server.run(2, false)) { - throw std::runtime_error("Failed to start core rpc server."); + throw tools::runtime_error("Failed to start core rpc server."); } LOG_PRINT_L0("Core rpc server started ok"); } |