From 2082e5bbf718660c49284e98a62b5936fb812ba0 Mon Sep 17 00:00:00 2001 From: Christopher Arndt Date: Sun, 25 Jan 2026 14:53:28 +0100 Subject: [PATCH] feat: log error if urid map feature is not available Signed-off-by: Christopher Arndt --- examples/amp_plugin.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/amp_plugin.nim b/examples/amp_plugin.nim index d44cf8d..6779925 100644 --- a/examples/amp_plugin.nim +++ b/examples/amp_plugin.nim @@ -32,6 +32,7 @@ proc instantiate(descriptor: ptr Lv2Descriptor; sampleRate: cdouble; plug.map = cast[ptr UridMap](lv2FeaturesData(features, lv2UridMap)) if plug.map.isNil: + plug.log.error(&"Required feature {lv2UridMap} not available.") freeShared(plug) return cast[Lv2Handle](nil)