lib/kpm/base_artifact.rb in kpm-0.2.2 vs lib/kpm/base_artifact.rb in kpm-0.2.3

- old
+ new

@@ -169,9 +169,12 @@ coordinates = KPM::Coordinates.build_coordinates(coordinate_map) begin nexus_info = nexus_remote(overrides, ssl_verify).get_artifact_info(coordinates) rescue NexusCli::ArtifactMalformedException => e raise NexusCli::NexusCliError.new("Invalid coordinates #{coordinate_map}") + rescue NexusCli::NexusCliError => e + logger.warn("Unable to retrieve coordinates #{coordinate_map}") + raise e end xml = REXML::Document.new(nexus_info) info[:sha1] = xml.elements['//sha1'].text unless xml.elements['//sha1'].nil? info[:version] = xml.elements['//version'].text unless xml.elements['//version'].nil?