X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/70bb55b35e35154bb36f43ef4ea64ccc1601bbc5..691f759da47ebd4b6a77a2ab5041c870265027e2:/config/initializers/abstract_adapter.rb?ds=sidebyside diff --git a/config/initializers/abstract_adapter.rb b/config/initializers/abstract_adapter.rb index fbae428cb..5cc24d25c 100644 --- a/config/initializers/abstract_adapter.rb +++ b/config/initializers/abstract_adapter.rb @@ -16,7 +16,7 @@ module ActiveRecord if ex.message =~ /^OSM::APITimeoutError: / raise OSM::APITimeoutError.new elsif ex.message =~ /^Timeout::Error: / - raise Timeout::Error.new + raise Timeout::Error.new("time's up!") else raise end