mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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 (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 */
|
||||
|
||||
Reference in New Issue
Block a user