kkhatua 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_r202420484
##########
File path:
exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/QueryWrapper.java
##########
@@ -97,23 +99,29 @@ public QueryResult run(final WorkManager workManager,
final WebUserConnection we
//Fail if nearly out of heap space
if (nearlyOutOfHeapSpace) {
+ UserException almostOutOfHeapException = UserException.resourceError(
+ new Throwable(
Review comment:
I think I just read the available methods and applied that. Will use the
addContext to build it.
----------------------------------------------------------------
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