]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson: print exceptions using exception.what()
authorKefu Chai <tchaikov@gmail.com>
Tue, 22 Nov 2022 03:56:36 +0000 (11:56 +0800)
committerKefu Chai <tchaikov@gmail.com>
Tue, 22 Nov 2022 05:54:41 +0000 (13:54 +0800)
commite6223872c58e492d3570335fd7f05bb52641837c
tree84ef77be5238d29e024ac8deb4beb676479ccd8b
parent06ce350ed68ea3fe4991bd9ba9a427c69a9ac399
crimson: print exceptions using exception.what()

{fmt} does not support formatting exceptions until
https://github.com/fmtlib/fmt/pull/3062/commits/76adb05a78a026b94c2ecadd20c00ae0c33c5a37
so we need to print them via exception.what().

Signed-off-by: Kefu Chai <tchaikov@gmail.com>
src/crimson/net/ProtocolV2.cc
src/crimson/os/seastore/seastore_types.cc