From adf3e9236aa6974147866242617cf651938e0ccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Fri, 28 Jun 2024 12:20:47 +0300 Subject: [PATCH] gstreamer: childproxy: Include child property name in error message when lookup fails Part-of: --- gstreamer/src/child_proxy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer/src/child_proxy.rs b/gstreamer/src/child_proxy.rs index 42cac7d6a..003e652dd 100644 --- a/gstreamer/src/child_proxy.rs +++ b/gstreamer/src/child_proxy.rs @@ -26,7 +26,7 @@ pub trait ChildProxyExtManual: sealed::Sealed + IsA + 'static { if ret { Ok((from_glib_full(target), from_glib_none(pspec))) } else { - Err(glib::bool_error!("Failed to find child property")) + Err(glib::bool_error!("Failed to find child property '{name}'")) } } }