arina-ielchiieva commented on a change in pull request #1379: DRILL-6591: Show 
Exception for failed queries submitted in WebUI
URL: https://github.com/apache/drill/pull/1379#discussion_r202313562
 
 

 ##########
 File path: 
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/QueryWrapper.java
 ##########
 @@ -83,12 +84,13 @@ public QueryResult run(final WorkManager workManager, 
final WebUserConnection we
     float usagePercent = getHeapUsage();
 
     // Wait until the query execution is complete or there is error submitting 
the query
-    logger.debug("Wait until the query execution is complete or there is error 
submitting the query");
+    if (logger.isDebugEnabled()) {
 
 Review comment:
   No need do this check, it's done internally.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to