mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-26 09:35:38 -05:00
fix drop object issue and add logging (#1974)
* fix drop object issue * remove content logging * remove ununsed using.
This commit is contained in:
@@ -96,7 +96,7 @@ namespace Microsoft.SqlTools.ServiceLayer.ObjectManagement
|
||||
}
|
||||
catch (FailedOperationException ex)
|
||||
{
|
||||
if (ex.InnerException is MissingObjectException && requestParams.ThrowIfNotExist)
|
||||
if (!(ex.InnerException is MissingObjectException) || (ex.InnerException is MissingObjectException && requestParams.ThrowIfNotExist))
|
||||
{
|
||||
throw;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user