Browse Source

Added better information for IPA type load exceptions

Bumped version
pull/11/head
Anairkoen Schno 5 years ago
parent
commit
79948998a6
5 changed files with 11 additions and 5 deletions
  1. +1
    -1
      IPA.Loader/Config/SelfConfig.cs
  2. +7
    -1
      IPA.Loader/Loader/PluginManager.cs
  3. +1
    -1
      IPA.Loader/Loader/manifest.json
  4. +1
    -1
      IPA/Program.cs
  5. +1
    -1
      appveyor.yml

+ 1
- 1
IPA.Loader/Config/SelfConfig.cs View File

@ -33,7 +33,7 @@ namespace IPA.Config
} }
internal const string IPAName = "Beat Saber IPA"; internal const string IPAName = "Beat Saber IPA";
internal const string IPAVersion = "3.12.12";
internal const string IPAVersion = "3.12.13";
public bool Regenerate = true; public bool Regenerate = true;


+ 7
- 1
IPA.Loader/Loader/PluginManager.cs View File

@ -264,9 +264,15 @@ namespace IPA.Loader
} }
} }
catch (ReflectionTypeLoadException e)
{
Logger.loader.Error($"Could not load the following types from {Path.GetFileName(file)}:");
Logger.loader.Error($" {string.Join(", ", e.Types.Select(t => t.FullName))}");
}
catch (Exception e) catch (Exception e)
{ {
Logger.loader.Error($"Could not load {Path.GetFileName(file)}! {e}");
Logger.loader.Error($"Could not load {Path.GetFileName(file)}!");
Logger.loader.Error(e);
} }
return new Tuple<IEnumerable<PluginInfo>, IEnumerable<IPlugin>>(null, ipaPlugins); return new Tuple<IEnumerable<PluginInfo>, IEnumerable<IPlugin>>(null, ipaPlugins);


+ 1
- 1
IPA.Loader/Loader/manifest.json View File

@ -5,7 +5,7 @@
"gameVersion": "0.13.2", "gameVersion": "0.13.2",
"id": "BSIPA", "id": "BSIPA",
"name": "Beat Saber IPA", "name": "Beat Saber IPA",
"version": "3.12.12",
"version": "3.12.13",
"features": [ "features": [
"define-feature(print, IPA.Loader.Features.PrintFeature)", "define-feature(print, IPA.Loader.Features.PrintFeature)",
"define-feature(debug, IPA.Loader.Features.DebugFeature)", "define-feature(debug, IPA.Loader.Features.DebugFeature)",


+ 1
- 1
IPA/Program.cs View File

@ -23,7 +23,7 @@ namespace IPA
Unknown Unknown
} }
public const string FileVersion = "3.12.12";
public const string FileVersion = "3.12.13";
public static Version Version => Assembly.GetEntryAssembly().GetName().Version; public static Version Version => Assembly.GetEntryAssembly().GetName().Version;


+ 1
- 1
appveyor.yml View File

@ -1,6 +1,6 @@
version: 'BSIPA-{branch}-{build}' version: 'BSIPA-{branch}-{build}'
environment: environment:
bsipa_version: '3.12.12'
bsipa_version: '3.12.13'
pull_requests: pull_requests:
do_not_increment_build_number: true do_not_increment_build_number: true
install: install:


Loading…
Cancel
Save