lib/attached/processor/audio.rb in attached-0.4.0 vs lib/attached/processor/audio.rb in attached-0.4.1
- old
+ new
@@ -64,12 +64,10 @@
`lame #{parameters} #{redirect}`
raise Errno::ENOENT if $?.exitstatus == 127
rescue Errno::ENOENT
-
raise "command 'lame' not found: ensure LAME is installed"
-
end
unless $?.exitstatus == 0
raise Attached::Processor::Error, "must be an audio file"
end