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

Unified Diff: runtime/vm/service_isolate.cc

Issue 2205953003: Silence service isolate startup error unless --trace-service is enabled (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 4 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/service_isolate.cc
diff --git a/runtime/vm/service_isolate.cc b/runtime/vm/service_isolate.cc
index 19ccf685da512528ab8a910740a524d7ae549fb2..c5e2e753039753048003e07879311161ffbde059 100644
--- a/runtime/vm/service_isolate.cc
+++ b/runtime/vm/service_isolate.cc
@@ -331,7 +331,9 @@ class RunServiceTask : public ThreadPool::Task {
NULL,
&error));
if (isolate == NULL) {
- OS::PrintErr("vm-service: Isolate creation error: %s\n", error);
+ if (FLAG_trace_service) {
+ OS::PrintErr("vm-service: Isolate creation error: %s\n", error);
+ }
ServiceIsolate::SetServiceIsolate(NULL);
ServiceIsolate::FinishedInitializing();
ServiceIsolate::FinishedExiting();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698