Mentions légales du service

Skip to content
Snippets Groups Projects
Commit a7da5c0a authored by Jérémie Gaidamour's avatar Jérémie Gaidamour
Browse files

[dev] Turned an error message to a warning

parent fad53bfa
No related branches found
No related tags found
No related merge requests found
...@@ -266,7 +266,7 @@ if options[:diff] ...@@ -266,7 +266,7 @@ if options[:diff]
properties_keys["diff"][k] = v_ref unless v_oar properties_keys["diff"][k] = v_ref unless v_oar
if v_oar && v_oar != v_ref && v_ref != NilClass && v_oar != NilClass if v_oar && v_oar != v_ref && v_ref != NilClass && v_oar != NilClass
# Detect inconsistency between the type (String/Fixnum) of properties generated by this script and the existing values on the server. # Detect inconsistency between the type (String/Fixnum) of properties generated by this script and the existing values on the server.
raise "Error: the OAR property '#{k}' is a '#{v_oar}' on the server and this script uses '#{v_ref}' for this property." puts "Error: the OAR property '#{k}' is a '#{v_oar}' on the server and this script uses '#{v_ref}' for this property."
end end
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment