lib/hydra/derivatives/services/capability_service.rb in hydra-derivatives-3.3.2 vs lib/hydra/derivatives/services/capability_service.rb in hydra-derivatives-3.4.0
- old
+ new
@@ -3,10 +3,10 @@
module Hydra::Derivatives
class CapabilityService
attr_accessor :ffmpeg_output
def capture_output
@ffmpeg_output = Open3.capture3('ffmpeg -codecs').to_s
- rescue
+ rescue StandardError
Logger.warn('Unable to find ffmpeg')
@ffmpeg_output = ""
end
def fdk_aac?