| Index: pkg/analysis_server/lib/src/get_handler.dart
|
| diff --git a/pkg/analysis_server/lib/src/get_handler.dart b/pkg/analysis_server/lib/src/get_handler.dart
|
| index 4f9a1e2f153abc92266cb6dece72d845129f8143..eec283b6160377c16d5e091c905f5746695cb661 100644
|
| --- a/pkg/analysis_server/lib/src/get_handler.dart
|
| +++ b/pkg/analysis_server/lib/src/get_handler.dart
|
| @@ -289,7 +289,14 @@ class GetHandler {
|
| buffer.write('<p>null</p>');
|
| return;
|
| }
|
| - ast.accept(new AstWriter(buffer));
|
| + AstWriter writer = new AstWriter(buffer);
|
| + ast.accept(writer);
|
| + if (writer.exceptions.isNotEmpty) {
|
| + buffer.write('<h3>Exceptions while creating page</h3>');
|
| + for (CaughtException exception in writer.exceptions) {
|
| + _writeException(buffer, exception);
|
| + }
|
| + }
|
| });
|
| });
|
| }
|
|
|