Skip to content

Commit

Permalink
Add todo to replace with DioException.badCertificate
Browse files Browse the repository at this point in the history
  • Loading branch information
hgraceb committed Apr 19, 2024
1 parent 84a816d commit 8b078c1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions plugins/http2_adapter/lib/src/connection_manager_imp.dart
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ class _ConnectionManager implements ConnectionManager {
uri.port,
);
if (!isCertApproved) {
// TODO(EVERYONE): Replace with DioException.badCertificate once upgrade dependencies Dio above 5.4.2.
throw DioException(
requestOptions: options,
type: DioExceptionType.badCertificate,
Expand Down

0 comments on commit 8b078c1

Please sign in to comment.