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