From be8d1428f129ec7d39e353717bf8756805d1e803 Mon Sep 17 00:00:00 2001 From: Ben Soares Date: Fri, 9 Jun 2023 10:48:43 +0100 Subject: [PATCH] JAL-3599 More stderr/stdout output to logs when anything --- build.gradle | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 7fa55c0..6517f43 100644 --- a/build.gradle +++ b/build.gradle @@ -4265,6 +4265,11 @@ task jalviewjsLaunchTest(type: Exec) { errorOutput = new ByteArrayOutputStream() doLast { + println("Chrome STDOUT: ") + println(standardOutput.toString()) + println("Chrome STDERR: ") + println(errorOutput.toString()) + def found = false def stderr = errorOutput.toString() stderr.eachLine { line -> @@ -4275,10 +4280,6 @@ 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.") } -- 1.7.10.2