Skip to content

Commit 78f1306

Browse files
committed
crimson/common/errorator: print abort message when possible
Signed-off-by: Matan Breizman <[email protected]>
1 parent bb717e2 commit 78f1306

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/crimson/common/errorator.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ struct unthrowable_wrapper : error_t<unthrowable_wrapper<ErrorT, ErrorV>> {
225225
pre_assert();
226226
}
227227
if (msg) {
228-
ceph_abort(msg);
228+
ceph_abort_msg(msg);
229229
} else {
230230
ceph_abort();
231231
}
@@ -319,7 +319,7 @@ struct stateful_error_t : error_t<stateful_error_t<ErrorT>> {
319319
}
320320
}
321321
if (msg) {
322-
ceph_abort(msg);
322+
ceph_abort_msg(msg);
323323
} else {
324324
ceph_abort();
325325
}
@@ -1351,7 +1351,7 @@ namespace ct_error {
13511351
pre_assert();
13521352
}
13531353
if (msg) {
1354-
ceph_abort(msg);
1354+
ceph_abort_msg(msg);
13551355
} else {
13561356
ceph_abort();
13571357
}

0 commit comments

Comments
 (0)