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

Unified Diff: pkg/analysis_server/test/integration/protocol_matchers.dart

Issue 569743003: update error handling to send response with stack trace (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: merge Created 6 years, 3 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 | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/protocol_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/test/integration/protocol_matchers.dart
diff --git a/pkg/analysis_server/test/integration/protocol_matchers.dart b/pkg/analysis_server/test/integration/protocol_matchers.dart
index db2cf1c920e3946138cb25e54652e56d4ef7edb7..7ad3f9995d4558e002692adaa2a5056c73200124 100644
--- a/pkg/analysis_server/test/integration/protocol_matchers.dart
+++ b/pkg/analysis_server/test/integration/protocol_matchers.dart
@@ -1621,7 +1621,7 @@ final Matcher isRemoveContentOverlay = new LazyMatcher(() => new MatchesJsonObje
* {
* "code": RequestErrorCode
* "message": String
- * "data": optional object
+ * "stackTrace": optional String
* }
*/
final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject(
@@ -1629,7 +1629,7 @@ final Matcher isRequestError = new LazyMatcher(() => new MatchesJsonObject(
"code": isRequestErrorCode,
"message": isString
}, optionalFields: {
- "data": isObject
+ "stackTrace": isString
}));
/**
« no previous file with comments | « pkg/analysis_server/lib/src/generated_protocol.dart ('k') | pkg/analysis_server/test/protocol_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698