bug fix for server shutdown on wrong query brackets!
diff --git a/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java b/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
index b8d3ee5..ec32fcb 100644
--- a/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
+++ b/src/main/java/de/ids_mannheim/korap/query/serialize/QuerySerializer.java
@@ -130,7 +130,6 @@
String cli, String cri, int cls, int crs,
int num, int page, boolean cutoff, String version)
throws QueryException {
- PoliqarpPlusTree.debug = true;
try {
if (ql.toLowerCase().equals("poliqarp")) {
ast = new PoliqarpPlusTree(query);
@@ -145,7 +144,6 @@
throw new QueryException(ql + " is not a supported query language!");
}
} catch (QueryException e) {
- log.error("QUERY EXCEPTION {}", e.getErrorCode());
throw e;
} catch (Exception e) {
throw new QueryException("UNKNOWN: Query could not be parsed");