]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/restful: cleaner message when not configured 17866/head
authorJohn Spray <john.spray@redhat.com>
Thu, 27 Jul 2017 15:48:42 +0000 (11:48 -0400)
committerNathan Cutler <ncutler@suse.com>
Thu, 21 Sep 2017 04:09:15 +0000 (06:09 +0200)
commit077b3601d6bf68167d1857b79bb3782e23bc8ccc
tree30f129ea890f34df1f7806baaa7c3e471ed4d67c
parent1befcbebcbcedf398b782adfcc165038d13fc3da
mgr/restful: cleaner message when not configured

RuntimeError+backtrace prints should be for
genuinely exceptional exceptions.  For these
known cases, we should just print the message cleanly.

http://tracker.ceph.com/issues/21292
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit f7a1d57dd0d6c29b8c57a5de624da33777403fe5)
src/pybind/mgr/restful/module.py