]> git.openstreetmap.org Git - rails.git/commitdiff
Fixed warning.
authorTom Hughes <tom@compton.nu>
Wed, 13 Jan 2010 13:41:13 +0000 (13:41 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 13 Jan 2010 13:41:13 +0000 (13:41 +0000)
config/initializers/abstract_adapter.rb

index fbae428cbbc5cc9b2dbdbfef312db0694ea90f27..5cc24d25c38489183a869661f7f3c68db3227a83 100644 (file)
@@ -16,7 +16,7 @@ module ActiveRecord
         if ex.message =~ /^OSM::APITimeoutError: /
           raise OSM::APITimeoutError.new
         elsif ex.message =~ /^Timeout::Error: /
         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
         else
           raise
         end