SDK: remove spurious ELOG when no error occurs

Bug: chromium:1141377
Change-Id: Iebaf8eb0bf8f2982986d2bf9a39b52a05e467f35
diff --git a/src/tracing/internal/tracing_muxer_impl.cc b/src/tracing/internal/tracing_muxer_impl.cc
index e3a0522..7c8d762 100644
--- a/src/tracing/internal/tracing_muxer_impl.cc
+++ b/src/tracing/internal/tracing_muxer_impl.cc
@@ -283,7 +283,8 @@
     const std::string& error) {
   PERFETTO_DCHECK_THREAD(thread_checker_);
   PERFETTO_DCHECK(!stopped_);
-  PERFETTO_ELOG("Service error: %s", error.c_str());
+  if (!error.empty())
+    PERFETTO_ELOG("Service error: %s", error.c_str());
   stopped_ = true;
   // If we're still waiting for the start event, fire it now. This may happen if
   // there are no active data sources in the session.