mirror of https://github.com/apache/lucene.git
SOLR-8625: SQL: Wrong error msg if stmt param is missing
This commit is contained in:
parent
edf665988d
commit
c136bd7dc7
|
@ -109,7 +109,7 @@ public class SQLHandler extends RequestHandlerBase implements SolrCoreAware {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
if(sql == null) {
|
if(sql == null) {
|
||||||
throw new Exception("sql parameter cannot be null");
|
throw new Exception("stmt parameter cannot be null");
|
||||||
}
|
}
|
||||||
|
|
||||||
context.setSolrClientCache(StreamHandler.clientCache);
|
context.setSolrClientCache(StreamHandler.clientCache);
|
||||||
|
|
Loading…
Reference in New Issue