shinrich commented on a change in pull request #7622:
URL: https://github.com/apache/trafficserver/pull/7622#discussion_r607154042
##########
File path: src/tscore/BufferWriterFormat.cc
##########
@@ -896,8 +897,12 @@ bwformat(BufferWriter &w, BWFSpec const &spec, bwf::Errno
const &e)
if (spec.has_numeric_type()) { // if numeric type, print just
the numeric part.
w.print(number_fmt, e._e);
} else {
- w.write(short_name(e._e));
- w.write(strerror(e._e));
+ if (e._e < 0) {
Review comment:
This also is part of PR #7580.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]