|
@ -261,7 +261,7 @@ namespace IPA.Loader |
|
|
Logger.loader.Error(e); |
|
|
Logger.loader.Error(e); |
|
|
ignoredPlugins.Add(metadata, new IgnoreReason(Reason.Error) |
|
|
ignoredPlugins.Add(metadata, new IgnoreReason(Reason.Error) |
|
|
{ |
|
|
{ |
|
|
ReasonText = "An error ocurred loading the data", |
|
|
|
|
|
|
|
|
ReasonText = "An error occurred loading the data", |
|
|
Error = e |
|
|
Error = e |
|
|
}); |
|
|
}); |
|
|
} |
|
|
} |
|
@ -372,7 +372,7 @@ namespace IPA.Loader |
|
|
/// </remarks>
|
|
|
/// </remarks>
|
|
|
Conflict, |
|
|
Conflict, |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The plugin this reason is assiciated with is missing a dependency.
|
|
|
|
|
|
|
|
|
/// The plugin this reason is associated with is missing a dependency.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <remarks>
|
|
|
/// <remarks>
|
|
|
/// Since this is only given when a dependency is missing, <see cref="IgnoreReason.RelatedTo"/> will
|
|
|
/// Since this is only given when a dependency is missing, <see cref="IgnoreReason.RelatedTo"/> will
|
|
@ -390,7 +390,7 @@ namespace IPA.Loader |
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
Feature, |
|
|
Feature, |
|
|
/// <summary>
|
|
|
/// <summary>
|
|
|
/// The plugin this reason is assoicated with is unsupported.
|
|
|
|
|
|
|
|
|
/// The plugin this reason is associated with is unsupported.
|
|
|
/// </summary>
|
|
|
/// </summary>
|
|
|
/// <remarks>
|
|
|
/// <remarks>
|
|
|
/// Currently, there is no path in the loader that emits this <see cref="Reason"/>, however there may
|
|
|
/// Currently, there is no path in the loader that emits this <see cref="Reason"/>, however there may
|
|
@ -687,7 +687,7 @@ namespace IPA.Loader |
|
|
if (!TryResolveId(id, out var depMeta, out var depDisabled, out var depIgnored) |
|
|
if (!TryResolveId(id, out var depMeta, out var depDisabled, out var depIgnored) |
|
|
|| !range.Matches(depMeta.HVersion)) |
|
|
|| !range.Matches(depMeta.HVersion)) |
|
|
{ |
|
|
{ |
|
|
Logger.loader.Warn($"'{plugin.Id}' is missing depencency '{id}@{range}'; ignoring"); |
|
|
|
|
|
|
|
|
Logger.loader.Warn($"'{plugin.Id}' is missing dependency '{id}@{range}'; ignoring"); |
|
|
ignoredPlugins.Add(plugin, new(Reason.Dependency) |
|
|
ignoredPlugins.Add(plugin, new(Reason.Dependency) |
|
|
{ |
|
|
{ |
|
|
ReasonText = $"Dependency '{id}@{range}' not found", |
|
|
ReasonText = $"Dependency '{id}@{range}' not found", |
|
@ -958,7 +958,7 @@ namespace IPA.Loader |
|
|
Logger.loader.Error(e); |
|
|
Logger.loader.Error(e); |
|
|
ignoredPlugins.Add(meta, new IgnoreReason(Reason.Error) |
|
|
ignoredPlugins.Add(meta, new IgnoreReason(Reason.Error) |
|
|
{ |
|
|
{ |
|
|
ReasonText = "Error ocurred while initializing", |
|
|
|
|
|
|
|
|
ReasonText = "Error occurred while initializing", |
|
|
Error = e |
|
|
Error = e |
|
|
}); |
|
|
}); |
|
|
return null; |
|
|
return null; |
|
@ -1014,7 +1014,7 @@ namespace IPA.Loader |
|
|
} |
|
|
} |
|
|
catch (Exception e) |
|
|
catch (Exception e) |
|
|
{ |
|
|
{ |
|
|
Logger.log.Critical($"Uncaught exception while loading pluign {meta.Name}:"); |
|
|
|
|
|
|
|
|
Logger.log.Critical($"Uncaught exception while loading plugin {meta.Name}:"); |
|
|
Logger.log.Critical(e); |
|
|
Logger.log.Critical(e); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|