]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/common/errorator: print abort message when possible
authorMatan Breizman <mbreizma@redhat.com>
Thu, 10 Apr 2025 15:50:01 +0000 (15:50 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 22 Apr 2025 15:11:58 +0000 (15:11 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/common/errorator.h

index 67a0c18b741deca6e2c3bfe5f479d9f9d3062aea..aac30a7c0a92f9062b6a1258c4190beb6a839f20 100644 (file)
@@ -225,7 +225,7 @@ struct unthrowable_wrapper : error_t<unthrowable_wrapper<ErrorT, ErrorV>> {
         pre_assert();
       }
       if (msg) {
-        ceph_abort(msg);
+        ceph_abort_msg(msg);
       } else {
         ceph_abort();
       }
@@ -319,7 +319,7 @@ struct stateful_error_t : error_t<stateful_error_t<ErrorT>> {
         }
       }
       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();
       }