before this change, we format a sstring with "{:d}", fmtlib would throw
`fmt::format_error` at runtime when formatting it. this is not expected.
so, in this change, we just print the int8_t using `seastar::format()`
in a single pass. and with the format specifier of `#02x` instead of
adding the "0x" prefix manually.
Fixes #14577
Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>
Closes #14578
23 KiB
23 KiB