File tree Expand file tree Collapse file tree 1 file changed +0
-11
lines changed
src/Common/Commands.Common.Graph.RBAC/ActiveDirectory Expand file tree Collapse file tree 1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -75,17 +75,6 @@ private void HandleException(Exception exception)
75
75
}
76
76
}
77
77
78
- private Exception ParseResponse ( GraphErrorException graphEx ) {
79
- int exceptionMessageIndex = graphEx . Response . Content . IndexOf ( "\" value\" :" , StringComparison . CurrentCultureIgnoreCase ) ;
80
- if ( exceptionMessageIndex > 0 )
81
- {
82
- string substring = graphEx . Response . Content . Substring ( exceptionMessageIndex + 9 ) ;
83
- // the start index is added 9, so as to remove the delimiter \"value\":\
84
- string exceptionDetails = substring . Substring ( 0 , substring . IndexOf ( "\" }" ) ) ;
85
- return new Exception ( exceptionDetails ) ;
86
- }
87
- return null ;
88
- }
89
78
90
79
private Exception ParseResponse ( GraphErrorException graphEx ) {
91
80
int exceptionMessageIndex = graphEx . Response . Content . IndexOf ( "\" value\" :" , StringComparison . CurrentCultureIgnoreCase ) ;
You can’t perform that action at this time.
0 commit comments