Clear feedback to user when daemon has stopped successfully
This commit is contained in:
parent
ad91ffe7e5
commit
66665003bd
|
@ -77,6 +77,7 @@ public:
|
||||||
m_protocol.deinit();
|
m_protocol.deinit();
|
||||||
m_protocol.set_p2p_endpoint(nullptr);
|
m_protocol.set_p2p_endpoint(nullptr);
|
||||||
MGINFO("Cryptonote protocol stopped successfully");
|
MGINFO("Cryptonote protocol stopped successfully");
|
||||||
|
tools::success_msg_writer() << "Daemon stopped successfully";
|
||||||
} catch (...) {
|
} catch (...) {
|
||||||
LOG_ERROR("Failed to stop cryptonote protocol!");
|
LOG_ERROR("Failed to stop cryptonote protocol!");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue