mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-29 17:24:34 -05:00
Revert "Explicitly erroring out on some failing commands that were not already included (#882)" (#887)
This reverts commit 57b7126ccf.
This commit is contained in:
@@ -485,12 +485,7 @@ namespace Microsoft.SqlTools.ServiceLayer.BatchParser.ExecutionEngineCode
|
||||
}
|
||||
catch (BatchParserException ex)
|
||||
{
|
||||
if (ex.ErrorCode == ErrorCode.UnsupportedCommand)
|
||||
{
|
||||
result = ScriptExecutionResult.Failure;
|
||||
RaiseScriptError(string.Format(CultureInfo.CurrentCulture, ex.Message), ScriptMessageType.FatalError);
|
||||
}
|
||||
else if (ex.ErrorCode != ErrorCode.Aborted)
|
||||
if (ex.ErrorCode != ErrorCode.Aborted)
|
||||
{
|
||||
result = ScriptExecutionResult.Failure;
|
||||
string info = ex.Text;
|
||||
|
||||
Reference in New Issue
Block a user