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 ada7b41 commit 26ae4d1Copy full SHA for 26ae4d1
arduino-core/src/cc/arduino/contributions/libraries/LibraryInstaller.java
@@ -97,9 +97,10 @@ public void updateIndex() throws Exception {
97
rescanLibraryIndex(progress);
98
}
99
100
- public void install(ContributedLibrary lib, ContributedLibrary replacedLib) throws Exception {
+ public void install(ContributedLibrary lib, ContributedLibrary replacedLib) {
101
if (lib.isInstalled()) {
102
- throw new Exception(_("Library is already installed!"));
+ System.out.println(_("Library is already installed: \"" + lib.getName() + "\""));
103
+ return;
104
105
106
final MultiStepProgress progress = new MultiStepProgress(3);
0 commit comments