Skip to content

Commit 641d235

Browse files
committed
add some "flair" to result stacktrace formatting
1 parent bdecefa commit 641d235

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/common/result.hpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ struct std::formatter<zest::ResultError<E>> {
9595
return std::format_to(
9696
ctx.out(),
9797
"{}\n"
98-
"begin stacktrace\n"
98+
"<== BEGIN STACKTRACE ==>\n"
9999
"{}\n"
100-
"end stacktrace",
100+
"<== END STACKTRACE ==>",
101101
error.message,
102102
error.stacktrace
103103
);

0 commit comments

Comments
 (0)