libsysprof: log source failure to console

This commit is contained in:
Christian Hergert
2019-05-21 21:57:47 -07:00
parent c204081cc0
commit dbc47a3a69

View File

@ -763,6 +763,10 @@ sysprof_local_profiler_source_failed (SysprofLocalProfiler *self,
g_assert (reason != NULL);
g_assert (SYSPROF_IS_SOURCE (source));
g_warning ("%s failed: %s",
G_OBJECT_TYPE_NAME (source),
reason ? reason->message : "unknown error");
sysprof_local_profiler_track_completed (self, source);
/* Failure emitted out of band */