Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public static class DatasetInfo {
private String dname;
private CoordinateBounds lat;
private CoordinateBounds lng;
private Double depth;
private DepthBounds depth;
}

@Data
Expand All @@ -38,4 +38,13 @@ public static class CoordinateBounds {
private Double min;
private Double max;
}

@Data
@NoArgsConstructor
@AllArgsConstructor
public static class DepthBounds {
private Double min;
private Double max;
private String unit;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public ResponseEntity<DatasetMetadata> getDatasetMetadata(String id) {
return dasService.getDatasetMetadata(id);
}
catch (Exception e) {
log.error("Error fetching metadata of id: {}, {}", id, e.getMessage());
log.error("Error fetching metadata of id: {}", id, e);
return ResponseEntity.internalServerError().build();
}
}
Expand Down
Loading