lib/image_optim/worker/pngout.rb in image_optim-0.26.2 vs lib/image_optim/worker/pngout.rb in image_optim-0.26.3
- old
+ new
@@ -33,9 +33,10 @@
]
execute(:pngout, *args) && optimized?(src, dst)
rescue SignalException => e
raise unless Signal.list.key(e.signo) == 'SEGV'
raise unless resolve_bin!(:pngout).version <= '20150920'
+
warn "pngout caused Segmentation fault for #{src}"
end
end
end
end