Skip to content

Commit e8f07c6

Browse files
committed
Log plugin download status to debug console
1 parent b34599d commit e8f07c6

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Source/UI/PluginInstaller.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1119,7 +1119,7 @@ void PluginInfoComponent::run()
11191119
}
11201120

11211121
setStatusMessage("Downloading " + pInfo.displayName + " ...");
1122-
LOGD("Downloading Plugin: ", pInfo.pluginName, "... ");
1122+
LOGC("Downloading Plugin: ", pInfo.displayName, " | Version: ", pInfo.selectedVersion);
11231123

11241124
// download the plugin
11251125
int dlReturnCode = downloadPlugin(pInfo.pluginName, pInfo.selectedVersion, false);
@@ -1130,7 +1130,7 @@ void PluginInfoComponent::run()
11301130
"[Plugin Installer] " + pInfo.displayName,
11311131
pInfo.displayName + " Installed Successfully");
11321132

1133-
LOGD("Download Successfull!!");
1133+
LOGC("Download Successfull!!");
11341134

11351135
pInfo.installedVersion = pInfo.selectedVersion;
11361136
installedVerText.setText(pInfo.installedVersion, dontSendNotification);
@@ -1601,15 +1601,15 @@ int PluginInfoComponent::downloadPlugin(const String& plugin, const String& vers
16011601

16021602
int loadPlugin = AccessClass::getPluginManager()->loadPlugin(pluginDllPath);
16031603

1604-
if (loadPlugin == -1)
1605-
return 6;
1606-
16071604
AccessClass::getProcessorList()->fillItemList();
16081605
AccessClass::getProcessorList()->repaint();
16091606

16101607
if(pInfo.type == "RecordEngine")
16111608
AccessClass::getControlPanel()->updateRecordEngineList();
16121609

1610+
if (loadPlugin == -1)
1611+
return 6;
1612+
16131613
}
16141614

16151615
return 1;

0 commit comments

Comments
 (0)