You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have the Java CLI application which is distributed as a NodeJS app using the jDeploy.
When the Node.js CLI fails to download the JRE, the CLI does not exit with an error code.
Actual result
$ crowdin upload sources
Downloading java runtime environment for version 11
Failed to install JRE FetchError: invalid json response body at
https://api.adoptopenjdk.net/v2/info/releases/openjdk11?o0penjdk_impl=hotspot&release=Latest&type=jre&os=Linux&arch=x64&
reason: Unexpected token < in JSON at position 0
at /opt/build/repo/node_modules/node-fetch/lib/index.js:273:32
at processTicksAndRejections (node: internal/process/task_queues:96:5) {
type: 'invalid-json'
}
CLI exit code after this error is 0.
Expected result
Exit code - 1.
Additional info
We can't control this exit code from our CLI because the error happens at a higher level.
jDeploy version - 2.0.11
The text was updated successfully, but these errors were encountered:
Problem
We have the Java CLI application which is distributed as a NodeJS app using the jDeploy.
When the Node.js CLI fails to download the JRE, the CLI does not exit with an error code.
Actual result
CLI exit code after this error is 0.
Expected result
Exit code - 1.
Additional info
We can't control this exit code from our CLI because the error happens at a higher level.
jDeploy version - 2.0.11
The text was updated successfully, but these errors were encountered: