]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/common: print std::exception_ptr after conveting it to exception
authorKefu Chai <tchaikov@gmail.com>
Tue, 22 Nov 2022 03:41:43 +0000 (11:41 +0800)
committerKefu Chai <tchaikov@gmail.com>
Tue, 22 Nov 2022 05:54:41 +0000 (13:54 +0800)
commit06ce350ed68ea3fe4991bd9ba9a427c69a9ac399
tree650d2281be6ba229147aa102c4fa8dfa367bfb59
parent601de01501943d72fd8cc63c0f46633086acf216
crimson/common: print std::exception_ptr after conveting it to exception

fmt does not support formatting `std::exception_ptr`, so we need to
rethrow it, so we can convert it to a known exception type.

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/crimson/common/gated.h