lib/adhearsion/call_controller/output/player.rb in adhearsion-2.6.4 vs lib/adhearsion/call_controller/output/player.rb in adhearsion-3.0.0.beta1
- old
+ new
@@ -17,10 +17,10 @@
else
controller.execute_component_and_await_completion component
end
rescue Call::Hangup
raise
- rescue Adhearsion::Error, Punchblock::ProtocolError => e
+ rescue Adhearsion::Error, Adhearsion::ProtocolError => e
raise PlaybackError, "Output failed due to #{e.inspect}"
end
end
end
end