TF-4193 Fix all Nitpick comments from coderabbit
This commit is contained in:
@@ -180,9 +180,6 @@ class AuthenticationOIDCDataSourceImpl extends AuthenticationOIDCDataSource {
|
||||
Future<OidcUserInfo> fetchUserInfo(String userInfoEndpoint) {
|
||||
return Future.sync(() async {
|
||||
return await _oidcHttpClient.fetchUserInfo(userInfoEndpoint);
|
||||
}).catchError((error, stackTrace) async {
|
||||
await _exceptionThrower.throwException(error, stackTrace);
|
||||
throw error;
|
||||
});
|
||||
}).catchError(_exceptionThrower.throwException);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user