We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 34fe749 commit 5af9c7aCopy full SHA for 5af9c7a
src/commands/studio.ts
@@ -316,10 +316,14 @@ class StudioActions {
316
})
317
.then(() => resolve())
318
.catch((err) => {
319
- console.log(err);
320
outputChannel.appendLine(
321
- `Studio Action "${action.label}" not supported on ${this.api.config.host}:${this.api.config.port}[${this.api.config.ns}]`
+ `Executing Studio Action "${action.label}" on ${this.api.config.host}:${this.api.config.port}[${
+ this.api.config.ns
322
+ }] failed${err.errorText && err.errorText !== "" ? " with the following error:" : "."}`
323
);
324
+ if (err.errorText && err.errorText !== "") {
325
+ outputChannel.appendLine("\n" + err.errorText);
326
+ }
327
outputChannel.show();
328
reject();
329
});
0 commit comments