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

Unified Diff: pkg/analyzer_plugin/lib/plugin/plugin.dart

Issue 2887453004: Minor cleanup of error reporting in plugins (Closed)
Patch Set: Created 3 years, 7 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
« no previous file with comments | « no previous file | pkg/analyzer_plugin/lib/protocol/protocol.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_plugin/lib/plugin/plugin.dart
diff --git a/pkg/analyzer_plugin/lib/plugin/plugin.dart b/pkg/analyzer_plugin/lib/plugin/plugin.dart
index 0eb38abff5491b2b6b58c6193bf3239a93e44fd8..a10afbb86be648b64fc1ba1bf75960c0e83ba082 100644
--- a/pkg/analyzer_plugin/lib/plugin/plugin.dart
+++ b/pkg/analyzer_plugin/lib/plugin/plugin.dart
@@ -515,7 +515,7 @@ abstract class ServerPlugin {
}
if (result == null) {
return new Response(request.id,
- error: RequestErrorFactory.unknownRequest(request));
+ error: RequestErrorFactory.unknownRequest(request.method));
}
return result.toResponse(request.id);
}
« no previous file with comments | « no previous file | pkg/analyzer_plugin/lib/protocol/protocol.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698