]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/admin: catch thrown exception
authorKefu Chai <kchai@redhat.com>
Fri, 24 Jul 2020 13:11:08 +0000 (21:11 +0800)
committerKefu Chai <kchai@redhat.com>
Mon, 27 Jul 2020 03:29:10 +0000 (11:29 +0800)
commit00d4028ed90fe8b72dbb7e9bffafa9f4d476267e
tree0810e9687442746483f3fb8c3e11388be03c4e6b
parent7d121754a1f12cfc719dbeeaa478bc72e8acc0e2
crimson/admin: catch thrown exception

if the socket file exists, a std::system_error is thrown. and we should
catch it.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/admin/admin_socket.cc