slawekjaranowski commented on a change in pull request #391:
URL: https://github.com/apache/maven-surefire/pull/391#discussion_r775575790



##########
File path: 
maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/ForkStarter.java
##########
@@ -653,6 +653,12 @@ private RunResult fork( Object testSet, PropertiesWrapper 
providerProperties, Fo
             {
                 runResult = timeout( 
reporter.getGlobalRunStatistics().getRunResult() );
             }
+            else if ( forkClient.isErrorInFork() )
+            {
+                final StackTraceWriter stackTrace = 
forkClient.getErrorInFork();
+                booterForkException =
+                    new SurefireBooterForkException( 
stackTrace.writeTraceToString() );
+            }

Review comment:
       Please look line 711 - 733
   StackTrace is printed if Maven command is started with -e option




-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to