Skip to content

Commit

Permalink
Improve error message
Browse files Browse the repository at this point in the history
  • Loading branch information
bbimber committed Jan 2, 2024
1 parent 6382513 commit 0c73722
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jbrowse/src/org/labkey/jbrowse/JBrowseLuceneSearch.java
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ else if (numericQueryParserFields.contains(fieldName))
}
else
{
throw new IllegalArgumentException("No such field(s), or malformed query.");
throw new IllegalArgumentException("No such field(s), or malformed query: " + queryString + ", field: " + fieldName);
}

booleanQueryBuilder.add(query, BooleanClause.Occur.MUST);
Expand Down

0 comments on commit 0c73722

Please sign in to comment.