mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-10 23:20:54 +00:00
libsysprof: log source failure to console
This commit is contained in:
@ -763,6 +763,10 @@ sysprof_local_profiler_source_failed (SysprofLocalProfiler *self,
|
|||||||
g_assert (reason != NULL);
|
g_assert (reason != NULL);
|
||||||
g_assert (SYSPROF_IS_SOURCE (source));
|
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);
|
sysprof_local_profiler_track_completed (self, source);
|
||||||
|
|
||||||
/* Failure emitted out of band */
|
/* Failure emitted out of band */
|
||||||
|
|||||||
Reference in New Issue
Block a user