Index: runtime/bin/http_impl.dart |
diff --git a/runtime/bin/http_impl.dart b/runtime/bin/http_impl.dart |
index c664c512ca6bce3de537be4395153ad939e7dd1a..859a17bc4ecfc10cd18e80216794d392486d7eb6 100644 |
--- a/runtime/bin/http_impl.dart |
+++ b/runtime/bin/http_impl.dart |
@@ -167,7 +167,7 @@ class _HttpHeaders implements HttpHeaders { |
} else { |
try { |
_port = Math.parseInt(value.substring(pos + 1)); |
- } catch (BadNumberFormatException e) { |
+ } catch (FormatException e) { |
_port = null; |
} |
} |