JAL-3599 More stderr/stdout output to logs when failed
authorBen Soares <b.soares@dundee.ac.uk>
Fri, 9 Jun 2023 09:38:54 +0000 (10:38 +0100)
committerBen Soares <b.soares@dundee.ac.uk>
Fri, 9 Jun 2023 09:38:54 +0000 (10:38 +0100)
build.gradle

index d02b08c..7fa55c0 100644 (file)
@@ -4275,6 +4275,11 @@ task jalviewjsLaunchTest(type: Exec) {
       }
     }
     if (!found) {
+      println("Chrome STDOUT: ")
+      println(standardOutput.toString())
+      println("Chrome STDERR: ")
+      println(errorOutput.toString())
+      
       throw new GradleException("Could not find evidence of Desktop launch in JalviewJS.")
     }
   }