igiguere commented on code in PR #1632:
URL: https://github.com/apache/solr/pull/1632#discussion_r1192621167
##########
solr/core/src/java/org/apache/solr/servlet/HttpSolrCall.java:
##########
@@ -971,7 +971,7 @@ protected void writeResponse(
if (solrRsp.getException() != null) {
NamedList<Object> info = new SimpleOrderedMap<>();
- int code = ResponseUtils.getErrorInfo(solrRsp.getException(), info,
log);
+ int code = ResponseUtils.getErrorInfo(solrRsp.getException(), info,
log, core);
Review Comment:
@sonatype-lift ignore
HttpSolrCall.init() is called during initialization. It will not race with
HttpSolrCall.writeResponse(...). There is no response to be written before or
during initialization.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]