lib/punchblock/translator/freeswitch/component/abstract_output.rb in punchblock-2.0.0.beta1 vs lib/punchblock/translator/freeswitch/component/abstract_output.rb in punchblock-2.0.0.beta2

- old
+ new

@@ -5,13 +5,13 @@ class Freeswitch module Component class AbstractOutput < Component UnrenderableDocError = Class.new OptionError - def execute(*args) + def execute validate send_ref - do_output(*args) + do_output rescue UnrenderableDocError => e with_error 'unrenderable document error', e.message rescue OptionError => e with_error 'option error', e.message end