Chromium Code Reviews| Index: pkg/oauth2/lib/src/credentials.dart |
| diff --git a/pkg/oauth2/lib/src/credentials.dart b/pkg/oauth2/lib/src/credentials.dart |
| index f0939c9c20e6b04d8a28f508c33f85256101ca9a..1a358273eb0027630230498995e17b594bd59baa 100644 |
| --- a/pkg/oauth2/lib/src/credentials.dart |
| +++ b/pkg/oauth2/lib/src/credentials.dart |
| @@ -80,6 +80,7 @@ class Credentials { |
| try { |
| parsed = JSON.parse(json); |
| } catch (e) { |
| + // TODO(nweiz): narrow this catch clause once issue 6775 is fixed. |
| validate(false, 'invalid JSON'); |
| } |