提交 e788ee0e 编写于 作者: S Sam Harwell
上级 2e84efd6
......@@ -4,6 +4,7 @@
using System;
using System.Composition;
using System.Threading.Tasks;
using Microsoft.CodeAnalysis.ErrorReporting;
using Microsoft.CodeAnalysis.Host.Mef;
using Microsoft.VisualStudio.Text;
......@@ -30,6 +31,13 @@ public void HandleError(object sender, Exception exception)
return;
}
if (exception is TaskCanceledException taskCanceledException
&& taskCanceledException.StackTrace.Contains("Microsoft.CodeAnalysis.Editor.Implementation.Suggestions.SuggestedActionsSourceProvider.SuggestedActionsSource.GetSuggestedActions"))
{
// Workaround for https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1070469
return;
}
FatalError.Report(exception);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册