Update exception message

pull/754/head
NextTurn 2020-04-02 00:00:00 +08:00 committed by Next Turn
parent cb345fe8a5
commit 932807529a
1 changed files with 1 additions and 1 deletions

View File

@ -33,7 +33,7 @@ namespace WinSW.Native
internal static void Exception(string message, Exception inner) internal static void Exception(string message, Exception inner)
{ {
Debug.Assert(message.EndsWith(".")); Debug.Assert(message.EndsWith("."));
throw new CommandException(message, inner); throw new CommandException(message + ' ' + inner.Message, inner);
} }
/// <exception cref="CommandException" /> /// <exception cref="CommandException" />