diff --git a/src/effektManager.ts b/src/effektManager.ts index f5e24fb..b8f00a3 100644 --- a/src/effektManager.ts +++ b/src/effektManager.ts @@ -327,7 +327,7 @@ export class EffektManager { return this.installOrUpdateEffekt(version, action); } this.updateStatusBar(); - return ''; + return this.effektVersion || ''; } /** @@ -376,6 +376,8 @@ export class EffektManager { return true; } catch (error) { + this.logMessage("ERROR", `When checking Java version got: ${error}`) + this.showErrorWithLogs( "Java (JRE) is required to run Effekt. " + "Please install Java, then restart VSCode."