samtes commented on code in PR #13147:
URL: https://github.com/apache/trafficserver/pull/13147#discussion_r3219778725
##########
tools/hrw4u/src/common.py:
##########
@@ -112,6 +113,43 @@ def fatal(message: str) -> NoReturn:
sys.exit(1)
+def _build_formatter(error_format: str):
+ """Instantiate the configured error formatter, falling back to plain."""
+ return FORMATTERS.get(error_format, FORMATTERS["plain"])()
Review Comment:
Done.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]