We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 09cf376 commit a50d661Copy full SHA for a50d661
1 file changed
lib/imageproxy/convert.rb
@@ -34,6 +34,9 @@ def try_command_with_timeout cmd
34
puts "Command timed out after 10 seconds, retrying >#{cmd}<"
35
execute_command cmd
36
puts "SUCCESS " * 20
37
+ rescue Exception => e
38
+ puts "Error while retrieving #{options.source}"
39
+ execute_command %'convert #{Dir.pwd}/public/noImage.png #{convert_options} #{new_format}#{file.path}'
40
end
41
42
def convert_options
0 commit comments