From: Matan Breizman Date: Thu, 10 Apr 2025 15:50:01 +0000 (+0000) Subject: crimson/common/errorator: print abort message when possible X-Git-Tag: v20.3.0~28^2~9 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=78f13062184c21706aa2417c47200c0fcc357674;p=ceph.git crimson/common/errorator: print abort message when possible Signed-off-by: Matan Breizman --- diff --git a/src/crimson/common/errorator.h b/src/crimson/common/errorator.h index 67a0c18b741de..aac30a7c0a92f 100644 --- a/src/crimson/common/errorator.h +++ b/src/crimson/common/errorator.h @@ -225,7 +225,7 @@ struct unthrowable_wrapper : error_t> { pre_assert(); } if (msg) { - ceph_abort(msg); + ceph_abort_msg(msg); } else { ceph_abort(); } @@ -319,7 +319,7 @@ struct stateful_error_t : error_t> { } } if (msg) { - ceph_abort(msg); + ceph_abort_msg(msg); } else { ceph_abort(); } @@ -1351,7 +1351,7 @@ namespace ct_error { pre_assert(); } if (msg) { - ceph_abort(msg); + ceph_abort_msg(msg); } else { ceph_abort(); }