We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e6952e commit 58d139cCopy full SHA for 58d139c
MainWindow.xaml.cs
@@ -137,12 +137,21 @@ private async void Main()
137
}
138
139
140
+ catch (ReflectionTypeLoadException rex)
141
+ {
142
+ Log.Write($"Error loading plugin {pluginDLL}: {rex.Message}");
143
+
144
+ foreach (var loaderException in rex.LoaderExceptions)
145
146
+ Log.Write(" - " + loaderException?.Message);
147
+ }
148
149
catch (Exception ex)
150
{
- Console.WriteLine($"Error loading plugin {pluginDLL}: {ex.Message}");
151
+ Log.Write($"General error loading plugin {pluginDLL}: {ex.Message}");
152
153
- }
154
+ } // if plugins folder exists
155
156
//return;
157
0 commit comments