Log warning on plugin load cancellation due to timeout

This commit is contained in:
Thorsten Sommer 2025-06-01 20:54:47 +02:00
parent 85fcb4a6c8
commit f1d0549a4f
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -58,7 +58,10 @@ public static partial class PluginFactory
try
{
if (cancellationToken.IsCancellationRequested)
{
LOG.LogWarning("Was not able to load all plugins, because the operation was cancelled. It seems to be a timeout.");
break;
}
LOG.LogInformation($"Try to load plugin: {pluginMainFile}");
var fileInfo = new FileInfo(pluginMainFile);