Skip to content

Commit 8ed2ee0

Browse files
Fine-tune error message
Signed-off-by: Etienne Studer <[email protected]>
1 parent fb5d5bc commit 8ed2ee0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/scripts/lib/build-scan-offline.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ read_build_scan_dumps() {
4343
build_scan_data="$(JAVA_HOME="${CLIENT_JAVA_HOME:-$JAVA_HOME}" invoke_java "$READ_BUILD_SCAN_DATA_JAR" "${args[@]}")"
4444
build_scan_summary_exit_code="$?"
4545
if [[ $build_scan_summary_exit_code -eq $JVM_VERSION_NOT_SUPPORTED ]]; then
46-
die "ERROR: Java 17+ is required when using --disable-build-scan-publishing. Rerun the script with Java 17+ or set the environment variable CLIENT_JAVA_HOME to a Java 17+ installation." "$UNEXPECTED_ERROR"
46+
die "ERROR: Java 17+ is required when using --disable-build-scan-publishing. Rerun the script with Java 17+ or set the CLIENT_JAVA_HOME environment variable to a Java 17+ installation." "$UNEXPECTED_ERROR"
4747
elif [[ $build_scan_summary_exit_code -ne $SUCCESS ]]; then
4848
exit "$UNEXPECTED_ERROR"
4949
fi

0 commit comments

Comments
 (0)