return [-2, "Sorry - I can't get the map for that area. The server said: #{ex}"]
rescue OSM::APIError => ex
return [-1, ex.to_s]
return [-2, "Sorry - I can't get the map for that area. The server said: #{ex}"]
rescue OSM::APIError => ex
return [-1, ex.to_s]
begin
node.delete_with_history!(new_node, user)
nodeversions[node.id] = node.version
begin
node.delete_with_history!(new_node, user)
nodeversions[node.id] = node.version
# We don't do anything with the exception as the node is in use
# elsewhere and we don't want to delete it
end
# We don't do anything with the exception as the node is in use
# elsewhere and we don't want to delete it
end