From: Yan Jun Date: Fri, 30 Jun 2017 15:25:09 +0000 (+0800) Subject: mon/mgr: add detail error infomation X-Git-Tag: v12.1.1~178^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4d53fd31bc13cd396584f8f768bf081e5aca4151;p=ceph.git mon/mgr: add detail error infomation Signed-off-by: Yan Jun --- diff --git a/src/mon/MgrMonitor.cc b/src/mon/MgrMonitor.cc index 863672afe7f5..97ed4635ebc4 100644 --- a/src/mon/MgrMonitor.cc +++ b/src/mon/MgrMonitor.cc @@ -579,6 +579,7 @@ bool MgrMonitor::prepare_command(MonOpRequestRef op) promote_standby(); } } else { + ss << "Command '" << prefix << "' not implemented!"; r = -ENOSYS; }