File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
src/client/Microsoft.Identity.Client.Desktop/WebView2WebUi Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -136,16 +136,6 @@ await Task.Factory.StartNew(
136
136
catch ( AggregateException ae )
137
137
{
138
138
requestContext . Logger . ErrorPii ( ae . InnerException ) ;
139
- #if WINUI3
140
- Exception innerException = ae . InnerExceptions [ 0 ] ;
141
-
142
- if ( innerException is AggregateException exception )
143
- {
144
- innerException = exception . InnerExceptions [ 0 ] ;
145
- }
146
-
147
- throw innerException ;
148
- #else
149
139
// Any exception thrown as a result of running task will cause AggregateException to be thrown with
150
140
// actual exception as inner.
151
141
Exception innerException = ae . InnerExceptions [ 0 ] ;
@@ -157,7 +147,6 @@ await Task.Factory.StartNew(
157
147
}
158
148
159
149
throw innerException ;
160
- #endif
161
150
}
162
151
}
163
152
}
You can’t perform that action at this time.
0 commit comments