Skip to content

Commit

Permalink
remove printing stack trace
Browse files Browse the repository at this point in the history
  • Loading branch information
david-blasby committed Oct 16, 2024
1 parent 3549b3f commit b1ef3f6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import java.util.HashMap;
import java.util.Map;
import java.util.stream.Collectors;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.StringUtils;
import org.fao.geonet.index.model.gn.Contact;
import org.fao.geonet.index.model.gn.IndexRecord;
Expand All @@ -35,6 +36,7 @@
*
* <p>TODO: Add support to translation https://bib.schema.org/workTranslation
*/
@Slf4j(topic = "org.fao.geonet.ogcapi.records")
public class SchemaOrgConverter {

public static Map<String, String> dateMapping = Map.ofEntries(
Expand Down Expand Up @@ -259,7 +261,7 @@ public static ObjectNode convert(IndexRecord record) {
envelope.getMaxY(), envelope.getMaxX()));
geo.add(shape);
} catch (ParseException e) {
e.printStackTrace();
log.debug(e.getMessage(),e);
}
});
}
Expand Down

0 comments on commit b1ef3f6

Please sign in to comment.