Added inner exceptions on connection failure and fixed a param validation bug

This commit is contained in:
Mitchell Sternke
2016-08-22 16:26:02 -07:00
parent 4631f2083e
commit 14399ede65
3 changed files with 31 additions and 7 deletions

View File

@@ -20,7 +20,6 @@ namespace Microsoft.SqlTools.ServiceLayer.Connection.Contracts
return !(
String.IsNullOrEmpty(parameters.OwnerUri) ||
parameters.Connection == null ||
String.IsNullOrEmpty(parameters.Connection.DatabaseName) ||
String.IsNullOrEmpty(parameters.Connection.Password) ||
String.IsNullOrEmpty(parameters.Connection.ServerName) ||
String.IsNullOrEmpty(parameters.Connection.UserName)