File tree Expand file tree Collapse file tree 2 files changed +0
-27
lines changed
EditorFeatures/TestUtilities
VisualStudio/IntegrationTest/TestSetup Expand file tree Collapse file tree 2 files changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -27,27 +27,6 @@ public TestExtensionErrorHandler()
27
27
28
28
public void HandleError ( object sender , Exception exception )
29
29
{
30
- // Work around bug that is fixed in https://devdiv.visualstudio.com/DevDiv/_git/VS-Platform/pullrequest/209513
31
- if ( exception is NullReferenceException &&
32
- exception . StackTrace . Contains ( "SpanTrackingWpfToolTipPresenter" ) )
33
- {
34
- return ;
35
- }
36
-
37
- // Work around for https://github.com/dotnet/roslyn/issues/42982
38
- if ( exception is NullReferenceException &&
39
- exception . StackTrace . Contains ( "Microsoft.CodeAnalysis.Completion.Providers.AbstractEmbeddedLanguageCompletionProvider.GetLanguageProviders" ) )
40
- {
41
- return ;
42
- }
43
-
44
- // Work around for https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1091056
45
- if ( exception is InvalidOperationException &&
46
- exception . StackTrace . Contains ( "Microsoft.VisualStudio.Language.Intellisense.AsyncCompletion.Implementation.CompletionTelemetryHost" ) )
47
- {
48
- return ;
49
- }
50
-
51
30
// This exception is unexpected and as such we want the containing test case to
52
31
// fail. Unfortuntately throwing an exception here is not going to help because
53
32
// the editor is going to catch and swallow it. Store it here and wait for the
Original file line number Diff line number Diff line change @@ -22,12 +22,6 @@ public TestExtensionErrorHandler()
22
22
23
23
public void HandleError ( object sender , Exception exception )
24
24
{
25
- if ( exception . Message == "RemotePartyTerminated" && new System . Diagnostics . StackTrace ( ) . ToString ( ) . Contains ( "CodeLens" ) ||
26
- exception . Message == "Cannot access a disposed object.\r \n Object name: 'CodeLensHubClient'." )
27
- {
28
- return ;
29
- }
30
-
31
25
FatalError . ReportAndPropagate ( exception ) ;
32
26
TestTraceListener . Instance . AddException ( exception ) ;
33
27
}
You can’t perform that action at this time.
0 commit comments