diff --git a/CHANGELOG.md b/CHANGELOG.md index 605d4d53f8..faa34ba5c4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ All notable changes to this project will be documented in this file. - [GUI] Show conflict messages in status bar (#2442 by: HebaruSan; reviewed: dbent, politas) - [GUI] Remove v in installed version and latest version columns (#2451 by yalov; reviewed: politas) - [Netkan] Support new Curse URLs (#2464 by: HebaruSan; reviewed: Olympic1, politas) +- [Netkan] Fix Netkan error message when both ksp_version and min/max are present (#2480 by: HebaruSan; reviewed: politas) ### Internal - [Core] Test upgrading mod with conflict on its own provides (#2431 by: HebaruSan; reviewed: politas) diff --git a/Core/Types/CkanModule.cs b/Core/Types/CkanModule.cs index 871916fece..9ade0f96f2 100644 --- a/Core/Types/CkanModule.cs +++ b/Core/Types/CkanModule.cs @@ -748,6 +748,7 @@ public class InvalidModuleAttributesException : Exception private readonly string why; public InvalidModuleAttributesException(string why, CkanModule module = null) + : base(why) { this.why = why; this.module = module; diff --git a/Netkan/Program.cs b/Netkan/Program.cs index 8c14a4df0f..04750b7cb3 100644 --- a/Netkan/Program.cs +++ b/Netkan/Program.cs @@ -85,6 +85,8 @@ public static int Main(string[] args) } catch (Exception e) { + e = e.GetBaseException() ?? e; + Log.Fatal(e.Message); if (Options == null || Options.Debug)