]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/trace_controller.rb
Fix rubocop warnings
[rails.git] / app / controllers / trace_controller.rb
index 41c488e0fdbe601422d1b7be6daf5e0b0a7fce73..e61e51e55cbc28367e6ed82d10ba674c6eba8605 100644 (file)
@@ -112,7 +112,7 @@ class TraceController < ApplicationController
         begin
           do_create(params[:trace][:gpx_file], params[:trace][:tagstring],
                     params[:trace][:description], params[:trace][:visibility])
-        rescue => ex
+        rescue StandardError => ex
           logger.debug ex
         end