javeme commented on code in PR #375:
URL: 
https://github.com/apache/incubator-hugegraph-toolchain/pull/375#discussion_r1031546299


##########
hugegraph-loader/src/main/java/org/apache/hugegraph/loader/HugeGraphLoader.java:
##########
@@ -112,9 +112,7 @@ public boolean load() {
         } catch (Throwable t) {
             RuntimeException e = LoadUtil.targetRuntimeException(t);
             Printer.printError("Failed to load", e);
-            if (this.context.options().testMode) {
-                throw e;
-            }
+            throw e;

Review Comment:
   can't throw exception if non-testMode, because the user experience is not 
good if print the stack trace.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@hugegraph.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to