X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/5ff9f2d21c82a9ebe06be748a37de764d0861514..32dfa68f908b2f6b1766a3c757a596a4525749be:/lib/diff_reader.rb diff --git a/lib/diff_reader.rb b/lib/diff_reader.rb index de2da3c6b..ca38d3501 100644 --- a/lib/diff_reader.rb +++ b/lib/diff_reader.rb @@ -241,7 +241,7 @@ class DiffReader if action_attributes["if-unused"] begin old.delete_with_history!(new, @changeset.user) - rescue OSM::APIPreconditionFailedError => ex + rescue OSM::APIAlreadyDeletedError, OSM::APIPreconditionFailedError => ex xml_result["new_id"] = old.id.to_s xml_result["new_version"] = old.version.to_s end