lib/adhearsion/call.rb in adhearsion-2.0.0.rc4 vs lib/adhearsion/call.rb in adhearsion-2.0.0.rc5
- old
+ new
@@ -223,10 +223,10 @@
when Exception
abort response
end
command
- rescue Timeout::Error => e
+ rescue Timeout::Error
abort CommandTimeout.new(command.to_s)
end
def write_command(command)
abort Hangup.new(@end_reason) unless active? || command.is_a?(Punchblock::Command::Hangup)