Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2036)

Unified Diff: pkg/analysis_server/lib/src/domain_analysis.dart

Issue 2808623002: Add 4 integration tests for the analysis domain. (Closed)
Patch Set: dartfmt Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698