Chromium Code Reviews| Index: runtime/bin/http_utils.dart |
| diff --git a/runtime/bin/http_utils.dart b/runtime/bin/http_utils.dart |
| index 4f37f02ee7b0e7fbedbd3097ded78e4d80991085..96ce2213bff0727059ae618523ce3a84bd307c1a 100644 |
| --- a/runtime/bin/http_utils.dart |
| +++ b/runtime/bin/http_utils.dart |
| @@ -212,7 +212,7 @@ class _HttpUtils { |
| try { |
| int value = parseInt(tmp); |
| return value; |
| - } catch (FormatException e) { |
| + } on FormatException catch (e) { |
| throw new HttpException("Invalid HTTP date $date"); |
| } |
| } |