aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--internal/pipewire/core.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/pipewire/core.go b/internal/pipewire/core.go
index 3d103d62..ff13eab2 100644
--- a/internal/pipewire/core.go
+++ b/internal/pipewire/core.go
@@ -332,7 +332,7 @@ var ErrBadBoundProps = errors.New("attempting to store bound props on a proxy th
type noAck struct{}
// setBoundProps should never be called as this proxy should never be targeted by [CoreBoundProps].
-func (noAck) setBoundProps(*CoreBoundProps) error { return ErrBadBoundProps }
+func (noAck) setBoundProps(*CoreBoundProps) error { panic(ErrBadBoundProps) }
// ErrBadRemove is returned when a [CoreRemoveId] event targeting a proxy
// that should never be targeted is received and processed.