diff --git a/classes/TouchOSC.sc b/classes/TouchOSC.sc index 6b705e1..65f5ec1 100644 --- a/classes/TouchOSC.sc +++ b/classes/TouchOSC.sc @@ -39,18 +39,17 @@ TouchOSC { } v { | url | - ^if( controls.at(url).isNil.not, { - controls.at(url).value - }, - nil + ^if( controls.at(url).isNil.not, + { controls.at(url).value }, + { ("v: No control with url" + url).postln } ); } v_ { | url, v | - ^if( controls.at(url).isNil.not, { - controls.at(url).value_(v) - }, - nil); + ^if( controls.at(url).isNil.not, + { controls.at(url).value_(v) }, + { ("v_: No control with url" + url).postln } + ); } }