cmcfarlen commented on code in PR #13425:
URL: https://github.com/apache/trafficserver/pull/13425#discussion_r3661313573
##########
plugins/header_rewrite/operators.cc:
##########
@@ -1282,8 +1283,7 @@ OperatorRunPlugin::initialize(Parser &p)
auto plugin_args = p.get_value();
if (plugin_name.empty()) {
- TSError("[%s] missing plugin name", PLUGIN_NAME);
- return;
+ throw std::runtime_error("run-plugin missing plugin name");
Review Comment:
Did Claude do this? We typically don't throw exceptions.
--
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]