diff --git a/app/helpers/page_layout_helper.rb b/app/helpers/page_layout_helper.rb index e81aacf5b..a137515d8 100644 --- a/app/helpers/page_layout_helper.rb +++ b/app/helpers/page_layout_helper.rb @@ -48,7 +48,7 @@ def thumbnail_path(logo, args = { resize_to_limit: [100, 100], auto_orient: true return nil if logo.blank? Rails.application.routes.url_helpers.rails_representation_path(logo.representation(args).processed) - rescue StandardError => e + rescue StandardError nil end