mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
This commit is contained in:
1 parent
62699bd4c5
commit
b49de754e3
1 file changed
+1
-1
@@ -103,7 +103,7 @@ namespace Microsoft.PowerShell.Commands
|
||||
string message = StringUtil.Format(errorMessage,
|
||||
serviceName,
|
||||
displayName,
|
||||
(innerException == null) ? string.Empty : innerException.Message);
|
||||
(innerException == null) ? category.ToString() : innerException.Message);
|
||||
|
||||
var exception = new ServiceCommandException(message, innerException);
|
||||
exception.ServiceName = serviceName;
|
||||
|
||||
Reference in new issue
Block a user