chore: add better failure message for version resolving failures on kubectl

This commit is contained in:
Aarnav Tale
2023-06-28 22:09:13 -04:00
parent e70828b58c
commit 69c8dc994c

View File

@@ -36,7 +36,7 @@ export async function installKubectl() {
debug(`kubectl ${version} installed and cached at ${path}`) debug(`kubectl ${version} installed and cached at ${path}`)
} catch { } catch {
debug('Failed to download kubectl from dl.k8s.io') debug('Failed to download kubectl from dl.k8s.io')
setFailed('Failed to download kubectl from dl.k8s.io') setFailed('Failed to download kubectl from dl.k8s.io\nPlease check the version you specified is valid')
} }
} }