From 0ab04fd319934f39ee922fd70ed1e991bb8a3a23 Mon Sep 17 00:00:00 2001 From: Praburaj Date: Mon, 20 Apr 2015 10:25:53 -0700 Subject: [PATCH] Setting exit code in exception message. --- .../Deployers/ApplicationDeployer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.AspNet.Server.Testing/Deployers/ApplicationDeployer.cs b/src/Microsoft.AspNet.Server.Testing/Deployers/ApplicationDeployer.cs index 27c1ff131c..94c3d4a0c7 100644 --- a/src/Microsoft.AspNet.Server.Testing/Deployers/ApplicationDeployer.cs +++ b/src/Microsoft.AspNet.Server.Testing/Deployers/ApplicationDeployer.cs @@ -94,7 +94,7 @@ namespace Microsoft.AspNet.Server.Testing if (hostProcess.ExitCode != 0) { - throw new Exception("dnu publish exited with exit code : {0}"); + throw new Exception(string.Format("dnu publish exited with exit code : {0}", hostProcess.ExitCode)); } DeploymentParameters.ApplicationPath =