mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: don't die entirely when one plugin fails init
This commit is contained in:
parent
6c7592ec17
commit
a7da9c43db
1 changed files with 5 additions and 1 deletions
|
|
@ -151,7 +151,11 @@ namespace Dalamud.Plugin
|
|||
var pluginDlls = folder.GetFiles("*.dll", SearchOption.AllDirectories);
|
||||
|
||||
foreach (var dllFile in pluginDlls) {
|
||||
LoadPluginFromAssembly(dllFile, raw);
|
||||
try {
|
||||
LoadPluginFromAssembly(dllFile, raw);
|
||||
} catch (Exception ex) {
|
||||
Log.Error(ex, $"Plugin load for {dllFile.FullName} failed.");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue