X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/299b6715221fe2e6d31af5f5711656c8f6e40da0..bbbf2569865bad3198c05587083e670bdba8b592:/app/models/relation.rb diff --git a/app/models/relation.rb b/app/models/relation.rb index 0bdacb5ec..ba27e9d7d 100644 --- a/app/models/relation.rb +++ b/app/models/relation.rb @@ -209,7 +209,7 @@ class Relation < ActiveRecord::Base # duplicate tags are now forbidden, so we can't allow values # in the hash to be overwritten. - raise OSM::APIDuplicateTagsError.new if @tags.include? k + raise OSM::APIDuplicateTagsError.new("relation", self.id, k) if @tags.include? k @tags[k] = v end