We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8ce52e commit 4c63e9eCopy full SHA for 4c63e9e
src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/DataTestUtility.cs
@@ -182,14 +182,13 @@ LOG ON
182
cmd.ExecuteNonQuery();
183
_fileStreamDBName = dbName;
184
}
185
- return _fileStreamDBName;
186
187
- catch (Exception e)
+ catch (SqlException e)
188
{
189
Console.WriteLine("File Stream database could not be setup. " + e.Message);
190
FileStreamDirectory = null;
191
- throw e;
192
+ return _fileStreamDBName;
193
194
195
internal static void DropFileStreamDb()
@@ -205,7 +204,6 @@ internal static void DropFileStreamDb()
205
204
206
Console.WriteLine("File Stream database could not be dropped. " + e.Message);
207
208
209
210
211
0 commit comments