Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
</repositories>

<properties>
<ide-plugins-common-version>2.4.3</ide-plugins-common-version>
<ide-plugins-common-version>2.4.4</ide-plugins-common-version>
</properties>

<build>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.HashMap;

import org.eclipse.jface.dialogs.ErrorDialog;
import org.eclipse.swt.widgets.Display;
import org.eclipse.swt.widgets.Shell;
Expand All @@ -30,7 +32,7 @@ private CliDriverWrapper() {
showCliError("An error occurred while creating the JFrog Eclipse plugin directory:",e);
}
// Initialize the cliDriver and download CLI if needed
this.cliDriver = new JfrogCliDriver(null, HOME_PATH.toString(), Logger.getInstance());
this.cliDriver = new JfrogCliDriver(new HashMap<String, String>(), HOME_PATH.toString(), Logger.getInstance());
try {
this.cliDriver.downloadCliIfNeeded(HOME_PATH.toString(), CLI_VERSION);
} catch (IOException e) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,8 @@ public boolean performOk() {
CliDriverWrapper.HOME_PATH.toFile(),
configEnv
);
if (!configResults.getErr().isBlank()) {
throw new Exception(configResults.getErr());
}

Logger.getInstance().debug(configResults.getErr());
} catch (Exception e) {
CliDriverWrapper.getInstance().showCliError("An error occurred while setting up the server connection:", e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ public void run() {
} catch (CancellationException ce) {
log.info(ce.getMessage());
} catch (Exception e) {
CliDriverWrapper.getInstance().showCliError("An error occurred while performing audit scan", e);
log.error("An error occurred while performing audit scan", e);
} finally {
scanFinished();
}
Expand Down