X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/97769170fde23c0bd113cff47cbd2977c727d180..d4954bc7b1bc06431bea4e97af401e3ea6acd0e6:/config/initializers/abstract_adapter.rb diff --git a/config/initializers/abstract_adapter.rb b/config/initializers/abstract_adapter.rb index 7b22a3cc6..cfa32e4e9 100644 --- a/config/initializers/abstract_adapter.rb +++ b/config/initializers/abstract_adapter.rb @@ -14,7 +14,7 @@ module ActiveRecord end rescue ActiveRecord::StatementInvalid => ex if ex =~ /^OSM::APITimeoutError: / - raise OSM::APITimeoutError + raise OSM::APITimeoutError.new else raise end