Index: pkg/analysis_server/lib/src/domain_analysis.dart |
diff --git a/pkg/analysis_server/lib/src/domain_analysis.dart b/pkg/analysis_server/lib/src/domain_analysis.dart |
index c8f2ec280c939c6962990adb4a84aecdc0aaf023..f4b0875d6f576019b6d1ac7b4f2585637c76fcbc 100644 |
--- a/pkg/analysis_server/lib/src/domain_analysis.dart |
+++ b/pkg/analysis_server/lib/src/domain_analysis.dart |
@@ -136,6 +136,8 @@ class AnalysisDomainHandler implements RequestHandler { |
server.sendResponse(new AnalysisGetLibraryDependenciesResult( |
libraries.toList(growable: false), packageMap) |
.toResponse(request.id)); |
+ }).catchError((error, st) { |
+ server.sendResponse(new Response.serverError(request, error, st)); |
}); |
// delay response |
return Response.DELAYED_RESPONSE; |