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

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

Issue 811223002: Capture and report uncaught exceptions in server (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years 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
« pkg/analysis_server/lib/driver.dart ('K') | « pkg/analysis_server/lib/driver.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analysis_server/lib/src/analysis_server.dart
diff --git a/pkg/analysis_server/lib/src/analysis_server.dart b/pkg/analysis_server/lib/src/analysis_server.dart
index d9eb295f3b49be65e30d8f7c559e810ca684541a..5d642e33ae1cf297e89f24088938b15d3a4c32af 100644
--- a/pkg/analysis_server/lib/src/analysis_server.dart
+++ b/pkg/analysis_server/lib/src/analysis_server.dart
@@ -625,6 +625,14 @@ class AnalysisServer {
}
/**
+ * Report to the client that the given [exception] was caught with the
+ * associated [stackTrace].
+ */
+ void reportException(dynamic exception, StackTrace stackTrace) {
+ _sendServerErrorNotification(exception, stackTrace);
+ }
+
+ /**
* Schedules execution of the given [ServerOperation].
*/
void scheduleOperation(ServerOperation operation) {
« pkg/analysis_server/lib/driver.dart ('K') | « pkg/analysis_server/lib/driver.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698