Skip to content

Commit 7488eef

Browse files
committed
Merge pull request #60 from Grabacr07/fix-59
fixes #59 ZoneID がインターネットなプラグインがある場合の例外処理を追加
2 parents 00a2886 + 05c01c2 commit 7488eef

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

source/Grabacr07.KanColleViewer/Composition/PluginHost.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@ public void Initialize()
126126
Exception = ex.ToString(),
127127
});
128128
}
129+
catch (FileLoadException ex)
130+
{
131+
this.failedPlugins.Add(new LoadFailedPluginData
132+
{
133+
FilePath = filepath,
134+
Exception = ex.ToString(),
135+
});
136+
}
129137
}
130138

131139
this.container = new CompositionContainer(catalog);

0 commit comments

Comments
 (0)