Skip to content

Commit

Permalink
Merge #2480 Fix Netkan error when ksp_version and min/max are present
Browse files Browse the repository at this point in the history
  • Loading branch information
politas committed Aug 5, 2018
2 parents 4120e9b + 6661602 commit 2321d88
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
1 change: 1 addition & 0 deletions Core/Types/CkanModule.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
2 changes: 2 additions & 0 deletions Netkan/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 2321d88

Please sign in to comment.