From 53cef60f2c9d52bf4148bc4fa7d679449bedc81b Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 30 Dec 2021 15:57:28 +0100 Subject: [PATCH] spotifyaudiosrc: log error if setup() failed --- audio/spotify/src/spotifyaudiosrc/imp.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/audio/spotify/src/spotifyaudiosrc/imp.rs b/audio/spotify/src/spotifyaudiosrc/imp.rs index ea0d2ea6..1d55f936 100644 --- a/audio/spotify/src/spotifyaudiosrc/imp.rs +++ b/audio/spotify/src/spotifyaudiosrc/imp.rs @@ -250,6 +250,7 @@ impl BaseSrcImpl for SpotifyAudioSrc { if let Err(err) = RUNTIME.block_on(async move { self.setup().await }) { let details = format!("{:?}", err); + gst_error!(CAT, obj: src, "failed to start: {}", details); gst::element_error!(src, gst::ResourceError::Settings, [&details]); return Err(gst::error_msg!(gst::ResourceError::Settings, [&details])); }