mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-20 23:32:55 +00:00
Log warning on plugin load cancellation due to timeout
This commit is contained in:
parent
85fcb4a6c8
commit
f1d0549a4f
@ -58,7 +58,10 @@ public static partial class PluginFactory
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
if (cancellationToken.IsCancellationRequested)
|
if (cancellationToken.IsCancellationRequested)
|
||||||
|
{
|
||||||
|
LOG.LogWarning("Was not able to load all plugins, because the operation was cancelled. It seems to be a timeout.");
|
||||||
break;
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
LOG.LogInformation($"Try to load plugin: {pluginMainFile}");
|
LOG.LogInformation($"Try to load plugin: {pluginMainFile}");
|
||||||
var fileInfo = new FileInfo(pluginMainFile);
|
var fileInfo = new FileInfo(pluginMainFile);
|
||||||
|
Loading…
Reference in New Issue
Block a user