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

Unified Diff: runtime/bin/vmservice/client/web/main.dart

Issue 335463008: Allow Observatory to run as a hosted web service (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 6 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 | « runtime/bin/vmservice/client/run.sh ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/vmservice/client/web/main.dart
diff --git a/runtime/bin/vmservice/client/web/main.dart b/runtime/bin/vmservice/client/web/main.dart
index db5153ceb9803579d5be5e462ce89db09a3c4d8c..5880006dccc374b813bcd52f44a15b69034a46bd 100644
--- a/runtime/bin/vmservice/client/web/main.dart
+++ b/runtime/bin/vmservice/client/web/main.dart
@@ -22,6 +22,10 @@ main() {
GoogleChart.initOnce().then((_) {
// Charts loaded, initialize polymer.
Logger.root.info('Initializing Polymer');
- initPolymer();
+ try {
+ initPolymer();
+ } catch (e) {
+ Logger.root.severe('Error initializing polymer: $e');
+ }
});
}
« no previous file with comments | « runtime/bin/vmservice/client/run.sh ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698