diff --git a/lib/installer.js b/lib/installer.js index 4ab1f24a..9f0b6064 100644 --- a/lib/installer.js +++ b/lib/installer.js @@ -222,7 +222,7 @@ function getDownloadInfo(refs, version, javaPackage) { } } if (curUrl == '') { - throw new Error(`No valid download found for version ${version}. Check https://static.azul.com/zulu/bin/ for a list of valid versions or download your own jdk file and add the jdkFile argument`); + throw new Error(`No valid download found for version ${version} and package ${javaPackage}. Check https://static.azul.com/zulu/bin/ for a list of valid versions or download your own jdk file and add the jdkFile argument`); } return { version: curVersion, url: curUrl }; } diff --git a/src/installer.ts b/src/installer.ts index 8e5a239f..94e4d48e 100644 --- a/src/installer.ts +++ b/src/installer.ts @@ -244,7 +244,7 @@ function getDownloadInfo( if (curUrl == '') { throw new Error( - `No valid download found for version ${version}. Check https://static.azul.com/zulu/bin/ for a list of valid versions or download your own jdk file and add the jdkFile argument` + `No valid download found for version ${version} and package ${javaPackage}. Check https://static.azul.com/zulu/bin/ for a list of valid versions or download your own jdk file and add the jdkFile argument` ); }