Skip to content

Commit

Permalink
Print exception
Browse files Browse the repository at this point in the history
  • Loading branch information
bchapuis committed Sep 18, 2023
1 parent b6009ec commit a9158bf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,12 @@ public Integer call() throws Exception {
var tileStoreType = new TypeLiteral<Supplier<TileStore>>() {};
var tileStoreSupplier = (Supplier<TileStore>) () -> {
try {
var config = configReader.read(this.tilesetPath);
var tilesetObject =
objectMapper.readValue(configReader.read(this.tilesetPath), Tileset.class);
objectMapper.readValue(config, Tileset.class);
return new PostgresTileStore(datasource, tilesetObject);
} catch (IOException e) {
e.printStackTrace();
throw new RuntimeException(e);
}
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ public class Tileset {
@JsonProperty("center")
private List<Double> center = new ArrayList<>();

@Deprecated
@JsonProperty("database")
private Object database;

Expand Down

0 comments on commit a9158bf

Please sign in to comment.