Index: tools/html_json_doc/lib/html_to_json.dart |
diff --git a/tools/html_json_doc/lib/html_to_json.dart b/tools/html_json_doc/lib/html_to_json.dart |
index 718cf94a6717a1f5f9111756e75c31af1ed167e7..4abb3529e122d0313b4d6aed66cc12a86b311976 100644 |
--- a/tools/html_json_doc/lib/html_to_json.dart |
+++ b/tools/html_json_doc/lib/html_to_json.dart |
@@ -58,8 +58,8 @@ Future<bool> convert(Path htmlPath, Path jsonPath) { |
outputStream.onClosed = () { |
completer.complete(_anyErrors); |
}; |
- |
- outputStream.onError = completer.completeException; |
+ |
+ outputStream.onError = completer.completeError; |
}); |
return completer.future; |