X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/3880ac5de8150eef3cc5b26eb9814f5c1d681afa..41a8b62ff2698b411c3bebeef26dc6f69df01a4c:/app/controllers/application_controller.rb diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index 5ee483ed4..0cd850cc6 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -370,7 +370,7 @@ class ApplicationController < ActionController::Base rescue ActionView::Template::Error => ex ex = ex.original_exception - if ex.is_a?(ActiveRecord::StatementInvalid) and ex.message =~ /^Timeout::Error/ + if ex.is_a?(ActiveRecord::StatementInvalid) and ex.message =~ /execution expired/ ex = Timeout::Error.new end