mirror of https://github.com/winsw/winsw
Update exception message
parent
cb345fe8a5
commit
932807529a
|
@ -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" />
|
||||||
|
|
Loading…
Reference in New Issue