diff --git a/app/controllers/images_controller.rb b/app/controllers/images_controller.rb index 2395693e7a..ae55256e1c 100644 --- a/app/controllers/images_controller.rb +++ b/app/controllers/images_controller.rb @@ -1,11 +1,6 @@ # frozen_string_literal: true class ImagesController < ApplicationController - rescue_from GdsApi::BaseError do |e| - GovukError.notify(e) - redirect_to images_path, alert_with_description: t("images.index.flashes.api_error") - end - def index @edition = Edition.find_current(document: params[:document]) render layout: rendering_context