More detailed message in 'error' CA when bosh cli features are disabled.
The message directs users to consult the readme for information on how to configure the CLI.
This commit is contained in:
@@ -108,7 +108,9 @@ public abstract class BoshCommandBasedModelProvider<T> implements DynamicModelPr
|
||||
protected String executeCommand(ExternalCommand command) throws Exception {
|
||||
if (command==null) {
|
||||
Log.log("bosh cli based editor features are disabled");
|
||||
throw new IOException("bosh cli based editor features are disabled");
|
||||
throw new IOException("bosh cli based editor features are disabled. "
|
||||
+ "Consult the atom/vscode extension's readme for detailed "
|
||||
+ "instructions on how to target a director and enable them.");
|
||||
}
|
||||
try {
|
||||
ExternalProcess process = new ExternalProcess(getWorkingDir(), command, true, config.getTimeout());
|
||||
|
||||
Reference in New Issue
Block a user