exception
This commit is contained in:
@@ -197,8 +197,9 @@ namespace Pilz.Plugins
|
|||||||
loadedPlugins.Add(info);
|
loadedPlugins.Add(info);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
info.Exception = ex;
|
||||||
info.Status = PluginStatus.ErrorAtInitializing;
|
info.Status = PluginStatus.ErrorAtInitializing;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -12,5 +12,6 @@ namespace Pilz.Plugins
|
|||||||
public T? Plugin { get; internal set; }
|
public T? Plugin { get; internal set; }
|
||||||
public PluginStatus Status { get; internal set; }
|
public PluginStatus Status { get; internal set; }
|
||||||
public Assembly? Assembly { get; internal set; }
|
public Assembly? Assembly { get; internal set; }
|
||||||
|
public Exception? Exception { get; internal set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user