mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-20 20:12:57 +00:00
Log warning on plugin load cancellation due to timeout
This commit is contained in:
parent
85fcb4a6c8
commit
f1d0549a4f
@ -58,8 +58,11 @@ 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);
|
||||
string code;
|
||||
|
Loading…
Reference in New Issue
Block a user